根据 [[UIApplication sharedApplication] enabledRemoteNotificatio nTypes] 的返回值来进行判断,该返回值是一个枚举值,如下: typedef enum { UIRemoteNotificationType None = 0, UIRemoteNotificationType Badge = 1 << 0, UIRemoteNotificationType Sound = 1 << 1, UIRemoteNotificationType Alert = 1 << 2, UIRemoteNotificationType NewsstandContentAvailabi lity = 1 << 3, } UIRemoteNotificationType ; 如果是 UIRemoteNotificationType None ,则可以认为推送开关没有打开,反之亦然。