打印出现:You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:

解决办法:

第一种:Product -> Target -> Capabilities -> Background Modes -> 勾选Remote notification

第二种:info.plist文件配置:Required background modes->App downloads content in response to push notifications

posted @ 2017-04-21 17:06  稻草人11223  阅读(990)  评论(0编辑  收藏  举报
返回顶部