Parse warning from didReceiveRemoteNotification:fetchCompletionHandler

后端 未结 5 1974
自闭症患者
自闭症患者 2020-12-12 19:23

I am getting an error after adding this code from parse.com:

- (void)application:(UIApplication *)application
didReceiveRemoteNotification:(NSDictionary *)us         


        
5条回答
  •  [愿得一人]
    2020-12-12 20:22

    I think @djshiow is not solving your problem.

    You need to add the following in your info.plist file:

    remote-notification

    1) Add a new row and, on the left column, select Required background modes.

    2) On Item 0 row, click on the right column and type: remote-notification. Press Enter.

    Source: http://hayageek.com/ios-silent-push-notifications/

提交回复
热议问题