[問題] background receive notification
請教關於background receive notification的問題
如果background modes的background fetch,remote notifications
已經打開
當app在背景接收到notification時,我必須決定哪些notificaion可以
顯示,那些不行
根據文件應該是在
- (void)application:(UIApplication *)application
didReceiveRemoteNotification:(NSDictionary *)userInfo
fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
這個delegate中處理,但是app在背景接收到notification時,我都不會觸發這delegate
,請問有哪裡沒注意到嗎?
Deployment Target:7.0
感謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 211.72.69.111
※ 文章網址: https://www.ptt.cc/bbs/MacDev/M.1437999450.A.B7E.html
※ 編輯: valda (211.72.69.111), 07/27/2015 20:20:10
推
07/27 21:31, , 1F
07/27 21:31, 1F
推
07/28 11:00, , 2F
07/28 11:00, 2F
→
07/28 11:01, , 3F
07/28 11:01, 3F
→
07/28 13:06, , 4F
07/28 13:06, 4F
MacDev 近期熱門文章
PTT數位生活區 即時熱門文章