Post

Replies

Boosts

Views

Activity

iOS 14 Beta 2: Simulator Location Authorization Workflow Differs from Devices
In both iOS 14 Beta 1 and 2 the workflow for Location Authorization seems to differ between the simulator and devices. When requesting always authorization the simulator will return authorizedWhenInUse rather than authorizedAlways when "Allow While Using App" is selected. Also the location accuracy selector is omitted from the alert shown. Is this is a known issue? This has also been filed as https://feedbackassistant.apple.com/feedback/7866504
2
0
1.1k
Jul ’20
SwiftUI analogue of UIIViewController.isModalInPresentation
As of iOS 13 with the new card style default presentation of modal view controllers users can dismiss these with a downward swipe gesture by default. If this behaviour is not desired isModalInPresentation can be set to true to disable it. In SwiftUI the sheet modifier does not seem to expose this option and will always be dismissed. An alternative is to use fullScreenCover — but this loses the card effect. Is there an option to prevent dismissing SwiftUI sheets using the gesture mentioned?
2
0
1.5k
Jun ’20