bugs

2016-09-04 10:24:14.503 Scgl[1035:341694] 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.
2016-09-04 10:24:14.681 Scgl[1035:341694] remoteNotificationUserInfo - (null)
Scgl(1035,0x16e19f000) malloc: *** error for object 0x103b45a90: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

  

解决方法:PORJECT --> Capabilities --> Background Modes --> Background fetch & Remote notifications -->选中为on 状态

  

posted @ 2016-09-04 10:26  羊羊羊&#128017;  Views(188)  Comments(0Edit  收藏  举报