【发布时间】:2017-08-19 12:24:22
【问题描述】:
我需要一些帮助来获取内部推送数据。
在我的应用委托文件中,我有以下内容:
// Push notification received
func application(_ application: UIApplication, didReceiveRemoteNotification data: [AnyHashable : Any]) {
// Print notification payload data
print("Push notification received: \(data)")
}
结果如下:
Push notification received: [AnyHashable("aps"): {
Link = "http://www.website.com.dll?i.user8=App&id=374941&mobileOnly=true";
alert = "New survey";
}]
我将如何从数据中获取价值链接
谢谢
【问题讨论】: