[[UIApplication sharedApplication] registerForRemoteNotificationTypes: (UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
has been deprecated for
UIUserNotificationSettings* notificationSettings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeAlert categories:nil]; [[UIApplication sharedApplication] registerUserNotificationSettings:notificationSettings]; [application registerForRemoteNotifications];
We need to change:
-
all Push demo: HelloWorld, QuickStart, AeroDoc, PushDemo
-
add documentation
-
Xcode template
|