Post

Replies

Boosts

Views

Activity

Reply to How has GeometryReader's behavior changed between iOS 13 and iOS 14?
Use this GeometryReaderCentered if you want the old behavior back: struct GeometryReaderCentered<Content: View>: View {     var content: (GeometryProxy) -> Content     var body: some View {         GeometryReader { geometry in             Group {                 content(geometry)             }             .frame(                 width: geometry.size.width,                 height: geometry.size.height,                 alignment: .center             )         }     } }
Oct ’21