This time, I will introduce the implementation method that transitions to the setting screen of the user's iPhone when the button is tapped when setting notification settings.
This is to make it easier for the user to change the notification settings, etc. by transitioning from the app to this screen.
let url = URL(string: "app-settings:root=General&path={Describe the Bundle Identifier here}")
UIApplication.shared.open(url!, options: [:], completionHandler: nil)
that's all. It may be good to make a transition by tapping a cell or button!
Recommended Posts