Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MyView
- .background {
- GeometryReader { geo in
- Color.clear
- .onAppear {
- //Assign a name to the coordinate space of the views you want to know informations about and use geo.frame(in: .named("the name")). Also can't abuse this cause GeometryReaders eventually cause bad performance
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement