Reputation: 5172
I'd like to in my app ask user to allow local notifications (I have switch for that purpose). When user interact with switch, I call standard registerUserNot.. But if user don't allow that, I'd like to return switch to off position. Any ideas? Thank you
Upvotes: 0
Views: 44
Reputation: 80271
You can catch the response in the app delegate call back:
application:didRegisterUserNotificationSettings:
and react accordingly.
Upvotes: 1