I wrote an app in SwiftUI last year and it's on the App Store. I am working on it in XCode 12 for iOS 14. When I pass a string to a View in .sheet, the String won't get passed. It worked in SwiftUI 1.0, but now doesn't in SwiftUI 2.0. I tested this by printing the variable right before passing to the view and it shows but doesn't print when the new view is opened in .sheet.
Anyone having this issue?
Running XCode 12 Beta 6 & iOS 14 Beta 7
Anyone having this issue?
Running XCode 12 Beta 6 & iOS 14 Beta 7