當(dāng)點(diǎn)擊了推送后, 如果你希望進(jìn)行處理. 那么在iOS10中, 還需要設(shè)置UNUserNotificationCenter的delegate, 并遵守UNUserNotificationCenterDelegate協(xié)議. 以及實(shí)現(xiàn)下面實(shí)現(xiàn)3個(gè)方法, 用于處理點(diǎn)擊通知時(shí)的不同情況的處理 willPresentNotification:withCompletionHandler用于前臺(tái)運(yùn)行 didReceiveNotificationResponse:withCompletionHandler用于...
www.dbjr.com.cn/article/934...htm 2016-9-25