You've implemented -[
application:didReceiveRemoteNotification:fetchCompletionHandler:], but
you still need to add "remote-notification" to the list
of your supported UIBackgroundModes in your Info.plist.
解决办法如图capablilties->background modes->remote notifications
网友评论