Post

Replies

Boosts

Views

Activity

Reply to Cancel back gesture bug with NavigationView
Any progress on this? Still occurring for me. Hopefully a fix at WWDC 21 Edit: As stated above by @hongduongdang a fix is adding the following: add .navigationViewStyle(StackNavigationViewStyle()) to the NavigationView seems to fix it for me. It is worth noting this is still a bug and may not be the solution everyone wants as it could interfere with iPad style navigation within navigationView.
Mar ’21
Reply to How to: Previews in Swift Package?
The solution: Create a new swift package Delete the auto generated struct that will be the name of your swift package Remove the unit test associated with the auto generated struct Edit the package.swift file to include the platform (example below: iOS) Ensure you have the schema selected and the correct device selected for the preview you want. (Ex: iPhone selected for iOS)     platforms: [             .iOS(.v13)         ],
Jun ’20