over 9 years ago
For your iOS application if you want to check Push Notification status then you can check it by using the below code:-
in iOS 7
- UIRemoteNotificationType types = [[UIApplication sharedApplication] enabledRemoteNotificationTypes];
- if (types == UIRemoteNotificationTypeNone) {
- //Enable your Push notification here..
- }
UIRemoteNotificationType types = [[UIApplication sharedApplication] enabledRemoteNotificationTypes]; if (types == UIRemoteNotificationTypeNone) { //Enable your Push notification here.. }
in iOS8
Happy Coding!!!
0 Comment(s)