Reputation: 67
I am looking for a way to open an app on the page a pushnotification is pointing to. Is there a way to see if I have received any push notification when starting my app?
Thanks in advance
Upvotes: 4
Views: 5909
Reputation: 35384
Check for the launch option keys UIApplicationLaunchOptionsRemoteNotificationKey
and UIApplicationLaunchOptionsLocalNotificationKey
in the launchOptions-Dictionary given in application:didFinishLaunchingWithOptions:
.
Upvotes: 6