使用推送通知在指定页面打开应用程序 [英] Open app at specified page with Push Notification

查看:26
本文介绍了使用推送通知在指定页面打开应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种在推送通知指向的页面上打开应用程序的方法.有没有办法在启动我的应用程序时查看我是否收到任何推送通知?

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?

提前致谢

推荐答案

检查中给出的launchOptions-Dictionary中的启动选项键UIApplicationLaunchOptionsRemoteNotificationKeyUIApplicationLaunchOptionsLocalNotificationKeyapplication:didFinishLaunchingWithOptions:.

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

这篇关于使用推送通知在指定页面打开应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆