[objective-c]推送警告处理
2015-07-29 20:38
423 查看
在使用iOS推送时,出现下面错误:
**[1412:60b] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist. **[1412:60b] 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.解决方法:PORJECT --> Capabilities --> Background Modes --> Background fetch & Remote notifications -->选中为on 状态
相关文章推荐
- HALCON算子函数——Chapter 13 : Object
- “LINK : fatal error L1093: start_test.obj : object file not found”报错解决
- [objective-c]编译出错 -- NS_REQUIRES_NIL_TERMINATION Error
- 黑马程序员--iOS--Objective-C基础 (面向对象)
- java Object类中常用的方法
- 2015 Objective-C 新特性
- ios coredata NSManagedObject 的 objectID
- 基于json-lib.jar包 创建JSONObject的四个常用方法
- Object-C 字符串
- JSONObject/JSONArray
- JAVA DAO(Data Access Object)的个人总结
- object入门(转)
- [objective-c]使用Lumberjack未定义
- *Delphi容器类之---TList、TStringList、TObjectList,以及一个例程的代码分析
- JSONObject与JSONArray的使用
- JSONObject JSONArray
- iOS开发 Objective-C中@property的属性详解
- 黑马程序员--iOS--Objective-C基础 (一)
- objectARX错误处理函数
- objectARX结果类型码