Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIUserNotificationSettings does not merge types properly #46

Open
pronebird opened this issue Apr 1, 2016 · 0 comments
Open

UIUserNotificationSettings does not merge types properly #46

pronebird opened this issue Apr 1, 2016 · 0 comments

Comments

@pronebird
Copy link
Contributor

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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant