iOS didFinishLaunchingWithOptions method options==nil
Posted
by
poopChai
on Stack Overflow
See other posts from Stack Overflow
or by poopChai
Published on 2013-07-01T03:30:03Z
Indexed on
2013/07/01
4:21 UTC
Read the original article
Hit count: 179
I was trying to fetch remote notification info when the app was not running,so I was told that I can get from :
UILocalNotification *localNotification = [launchOptions
objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]
in method:
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
,but still can't get info.
Then I use alertView to show the info on iPhone(launch without Xcode),still can't get the info.
Any other issue would cause this? Please let me know if you have any ideas.
© Stack Overflow or respective owner