您的位置:首页 > 移动开发

You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletio

2017-05-05 11:42 519 查看
控制台如果有如下打印:

You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported
UIBackgroundModes in your Info.plist.


解决方案如下:

1.在项目的info.plist文件中添加:Required background modes->App
downloads content in response to push notifications,如下图所示:



2.Product -> Target -> Capabilities -> Background Modes -> 勾选Remote
notification,如下图所示

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  控制台 错误解决
相关文章推荐