Operative
Operative copied to clipboard
UIUserNotificationSettings does not merge types properly
I found that this simply does not work:
UIUserNotificationType mergedTypes = settings.types & self.types;
I think bitwise OR was meant instead:
UIUserNotificationType mergedTypes = (settings.types | self.types);