Post

Replies

Boosts

Views

Activity

Reply to SwiftUI View leaks in iOS 17
It seems that views become not lazy in fullScreenCover. Try to use this: struct DeferView<Content: View>: View { let content: () -> Content init(@ViewBuilder _ content: @escaping () -> Content) { self.content = content } var body: some View { content() } } DeferView { your content }
Oct ’23