有没有什么编程的方法,可以判断出应用是否能接收推送通知?谢谢。
UIRemoteNotificationType types = [[UIApplication sharedApplication] enabledRemoteNotificationTypes]; if (types == UIRemoteNotificationTypeNone) // Disabled
一般推送都是有服务的,监听服务