UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

launchOptions empty after app starting via region monitor

Forums > iOS

Hi all,

is there any chance that this document https://developer.apple.com/documentation/corelocation/getting_the_user_s_location/handling_location_events_in_the_background is outdated. I have an app that successfully starts if the region monitor triggers but the launchOptions dictionary is empty in will and didFinishLaunchingWithOptions. So that is clearly not how it's documented.

Can anyone clarify this for me? Thanks :-D

3      

Hi, my hunch is that if you have iOS 13 project, the SceneDelegate will be responsible for this but I have not explored this further.

3      

Hacking with Swift is sponsored by RevenueCat

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.