Created
September 13, 2020 02:03
-
-
Save SarahAlsharif/9ba0ee2c40a49ef86223be57428e0e9e to your computer and use it in GitHub Desktop.
This file contains hidden or 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 { | |
| Container { | |
| ZStack { | |
| RoundedRectangle(cornerRadius: 20) | |
| .foregroundColor(Color.purple.opacity(0.4)) | |
| VStack { | |
| Image(systemName: "person.crop.rectangle.fill") | |
| .foregroundColor(.white) | |
| .font(.system(size: 200)) | |
| .padding() | |
| Text("My Photo") | |
| .padding() | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment