深层链接iOS推送通知 [英] Deep Linking iOS Push Notifications

查看:99
本文介绍了深层链接iOS推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据我发送的内容,我希望能够在收到推送通知后将观众发送到应用中的特定视图。

I'd like to be able to send the viewer to a specific view in the app when they get the push notification, based upon what I send them.

    "aps": {
        "alert": "look at this stuff",
        "view": "wc1"
    }

视图'wc1'只是集合视图中的标签。所以我真正想知道的是,如果用户深入我的应用程序,并且他们收到推送通知,我该如何将它们发送回集合视图屏幕。

the view 'wc1' is just a tag in a collection view. So what i'd really like to know is, if the user is deep in my app, and they receive a push notification, how do I send them back to the collection view screen.

我遇到过深层连接这个词,但到目前为止还没能找到任何东西。任何方向都会非常有用。谢谢!

I've come across the term deep linking, but not been able to find anything on it thus far. Any direction would be really helpful. Thanks!

推荐答案

尝试移动词典条目以便在aps词典之外查看。

Try to move your dictionary entry for view outside of the "aps" dictionary.

{
    "aps": 
    {
        "alert": "look at this stuff"
    }
    "view": "wc1"
 }

这篇关于深层链接iOS推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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