Open app at specified page with Push Notification

前端 未结 1 1486
后悔当初
后悔当初 2020-12-17 04:33

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?

相关标签:
1条回答
  • 2020-12-17 05:16

    Check for the launch option keys UIApplicationLaunchOptionsRemoteNotificationKey and UIApplicationLaunchOptionsLocalNotificationKey in the launchOptions-Dictionary given in application:didFinishLaunchingWithOptions:.

    0 讨论(0)
提交回复
热议问题