Operative icon indicating copy to clipboard operation
Operative copied to clipboard

UIUserNotificationSettings does not merge types properly

Open pronebird opened this issue 8 years ago • 0 comments

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);

pronebird avatar Apr 01 '16 17:04 pronebird