I want to have a UISwitch in my app that when pressed will either request notification authorization or if already authorized reject it.
Is there a way to perform a rejection? I know that if requestAuthorization is called and the user has already authorized the app then nothing will happen. So I was curious if there is a way in app to remove the notification permissions without forcing the user to go to the settings app on their device and doing it from there.