看板 MacDev 關於我們 聯絡資訊
使用Push Notification推播 目前已經可以經由APNs推播通知到手機上 現在要做的是 推播通知後 APP在背景的形況 手機點選推播,可以直接跳到APP裡指定的頁面 每種推播可以開啟不同頁面 找了許多資料 但是都沒有成功 請問是要如何使用呢 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 219.87.183.253 ※ 文章網址: https://www.ptt.cc/bbs/MacDev/M.1480500758.A.FD1.html
darktt: 看你的推播的peyload有沒有帶其他可辨識的資訊 11/30 18:27
LFimi: push帶指定字串if下去就好了啊 11/30 19:41
shinrenpan: 如果不是點推播通知, 而是直接點 icon, 不會觸發. P 11/30 20:41
shinrenpan: M 就要叫了. 11/30 20:41
ppppman: appdelegate去接你推下來的資訊去做你要的事 12/01 00:04
Imnotyourson: 在 AppDelegate 的 didFinishLaunchingWithOptions 12/05 02:04
Imnotyourson: options 查 UIApplicationLaunchOptionsRemoteNotif 12/05 02:05
Imnotyourson: icationKey 12/05 02:05
Imnotyourson: 如果拿得到 Notification,你就可以做你想做的事 12/05 02:06