2
I’m developing an app for different summers from iOS, in this case for iOS 7 and iOS 8. I’m trying to create the Push Notification service, but the methods to register the app and others, are "obsolete".
Below is the method I’m using:
[[UIApplication sharedApplication]
// obsoletos para o iOS 8
registerForRemoteNotificationTypes:(UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound)];
// Clear application badge when app launches
application.applicationIconBadgeNumber = 0;
Tested it? It worked? You can already accept and vote on any answer?
– Maniero