Quando uso [[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
per registrare notifiche push remote, si verifica un errore che dice cannot initialize a parameter of type 'UIRemoteNotificationType' with an rvalue of type 'int'
, qualcuno sa perché? grazie.non può inizializzare un parametro di tipo UIRemote NotificationType con un valore di tipo int
ambiente del mio progetto: Xcode 4.2 + iOS 5.
Eventuali duplicati http://stackoverflow.com/questions/2584453/uiremotenotificationtype-invalid-conversion – jbat100
Sono molto felice e anche grazie. –