Created
August 18, 2020 08:55
-
-
Save hirauchg/417b9a548525c9cf0ddeaae482ef399f to your computer and use it in GitHub Desktop.
画像の色を変更する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ContentView: View { | |
var body: some View { | |
VStack { | |
Image("soccer") | |
Image("soccer") | |
.renderingMode(.template) | |
.foregroundColor(.red) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment