转自:http://segmentfault.com/blog/jwfing/1190000000520755 apple 官方指南:https://developer.apple.com/library/IOS/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html