Когда я использую [[UIApplication sharedApplication] registerForRemoteNotificationTypes: (UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
для регистрации удаленного push-уведомления, возникает ошибка cannot initialize a parameter of type 'UIRemoteNotificationType' with an rvalue of type 'int'
, кто-нибудь знает почему? спасибо.
Окружение моего проекта: Xcode 4.2 + iOS 5.