5
當我使用[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
註冊遠程推送通知時,出現錯誤,說cannot initialize a parameter of type 'UIRemoteNotificationType' with an rvalue of type 'int'
,有人知道爲什麼嗎?謝謝。無法初始化類型爲UIRemote NotificationType的參數,其類型爲int
我的項目的環境:Xcode的4.2 +的iOS 5
可能的複製http://stackoverflow.com/questions/2584453/uiremotenotificationtype-invalid-conversion – jbat100 2011-12-14 10:48:01
我很高興,也謝謝你。 – 2011-12-15 01:12:38