Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

launchOptions always nil #119

Open
Hitarth2000 opened this issue Jun 13, 2019 · 1 comment
Open

launchOptions always nil #119

Hitarth2000 opened this issue Jun 13, 2019 · 1 comment

Comments

@Hitarth2000
Copy link

if ([launchOptions objectForKey:UIApplicationLaunchOptionsLocationKey])
this condition always false as launchOptions = nil . all time.
Can u plese suggest what kind of changes need to do for this. ?

@malhal
Copy link

malhal commented Mar 27, 2024

I'm only seeing UIApplicationLaunchOptionsLocationKey on simulator and device (17.4) when scene lifecycle is disabled by removing the manifest from the Info.plist.

When scenes are enabled, both the app delegate launchDict and scene delegate launch dict doesn't contain it. They might not have bothered to port it from app delegate to scene delegate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants