推送消息结构:
{ "aps" : { "alert" : { "title" : "111", "body" : "Your message Here" }, "自定义" : "自定义", "自定义" : "自定义", //加上下面这个,app在后台时,收到推送也调用application:didReceiveRemoteNotification:fetchCompletionHandler: //点击推送消息后,仍然会调用,共调用2次,这里注意 "content-available" : 1, }