Skip to content

Instantly share code, notes, and snippets.

@hirauchg
Created August 18, 2020 07:26
Show Gist options
  • Save hirauchg/17f730844ad708ec49cf0a67d5ac1ded to your computer and use it in GitHub Desktop.
Save hirauchg/17f730844ad708ec49cf0a67d5ac1ded to your computer and use it in GitHub Desktop.
画像のサイズを変更する
struct ContentView: View {
var body: some View {
VStack {
Image("soccer")
Image("soccer")
.frame(width: 200, height: 100)
Image("soccer")
.frame(width: 200, height: 300)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment