Please add .backgroundTask(.significantLocation)
Originator: | indiekiduk | ||
Number: | rdar://FB13699977 | Date Originated: | 27-03-2024 |
Status: | Open | Resolved: | |
Product: | SwiftUI | Product Version: | |
Classification: | Suggestion | Reproducible: |
Please add .backgroundTask(.significantLocation) so we can define an async closure that runs when the system launches the app due to a significant change to location. You could implement this by checking for a CLLaunchOptionsLocation Bool being true in the dictionary in the payload of the scene's transitionContext. It would be great if you could nudge the UIKit team to also add UIApplicationLaunchOptionsLocationKey to scene delegate launchOptions because it's been missing since scene delegate lifetime was added in iOS13! See here for more info: https://stackoverflow.com/a/78228563/259521
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!