4
Swift 2.0 - Operador binario "|" no se puede aplicar a dos operandos UIUserNotificationType
Estoy tratando de registrar mi solicitud de notificaciones locales de esta manera: UIApplication.sharedApplication().registerUserNotificationSettings(UIUserNotificationSettings(forTypes: UIUserNotificationType.Alert | UIUserNotificationType.Badge, categories: nil)) En Xcode 7 y Swift 2.0, recibo un error Binary Operator "|" cannot be applied to two UIUserNotificationType operands. Por favor, ayúdame.