小编Aer*_*fan的帖子

如何使用swift从launchOptions获取自定义推送通知值?

我正在使用Swift构建一个接收推送通知的应用程序.我在JSON中发送自定义值.

我通过通知打开应用程序,所以我知道我必须在"didFinishLaunchingWithOptions"中执行此操作并从"launchOptions"中读取值.

如何阅读这些值并在我的应用程序中使用它们.

非常感谢.

notifications push ios swift

8
推荐指数
1
解决办法
4834
查看次数

标签 统计

ios ×1

notifications ×1

push ×1

swift ×1