Post

Replies

Boosts

Views

Activity

Reply to SwiftUI sheet dismiss warning
You need to move the showSheet property out of the view controller class and keep it as part of MySheetView otherwise you'll keep getting complaints.. The view needs to be responsible for showing and dismissing sheets not an external view controller.
Sep ’22