Created
May 25, 2022 04:28
-
-
Save BetterProgramming/ca0f28a34e0c44dfc0c20aeb3194adfd 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 returnSize: View { | |
var body: some View { | |
GeometryReader { geometry in | |
Color.clear | |
.onAppear(perform: { | |
print("geo \(geometry.size)") | |
}) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment