registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later.
APNS등록시 iOS 8 버전부터 변경 됨. if ([application respondsToSelector:@selector(registerUserNotificationSettings:)]){//iOS8UIUserNotificationSettings* notificationSettings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeAlert | UIUserNotificationTypeBadge | UIUserNotificationTypeSound categories:nil];[[UIApplication sharedApplication] registerUserNotificationSettings:notificationSett..
iOS/에라고만...
2014. 12. 5. 15:07
반응형