Gistlib Logo

gistlib

swiftui image with system in swift

main.swift
import SwiftUI

struct ContentView: View {
    var body: some View {
        Image(systemName: "leaf.arrow.circlepath")
            .resizable()
            .frame(width: 100, height: 100)
    }
}
197 chars
10 lines

similar swift code snippets

how to create circle image in swiftui in swift
display a gif in swiftui in swift
create a circular profile icon with image in swiftui in swift
call a shell script in swift
swiftui animation spinner in swift
swiftui animate circle in swift
format a date to a localized string in swift
swiftui view with vstack in swift
swiftui list a array in swift
how to centre a view in swiftui in swift

related categories

swiftui
image
system

gistlibby LogSnag