Skip to content

Instantly share code, notes, and snippets.

@hirauchg
Created August 18, 2020 07:19
Show Gist options
  • Save hirauchg/400e8126fa5258c1aa0e1204daa9a2d0 to your computer and use it in GitHub Desktop.
Save hirauchg/400e8126fa5258c1aa0e1204daa9a2d0 to your computer and use it in GitHub Desktop.
Imageで画像を表示する
struct ContentView: View {
private let uiImage = UIImage(named: "soccer")!
var body: some View {
Image(uiImage: uiImage)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment