guard let url = URL(string: UIApplication.openSettingsURLString), UIApplication.shared.canOpenURL(url) else { return }
UIApplication.shared.open(url, options: [:], completionHandler: nil)
If there is an application-specific setting item in the "Settings app", the screen will change to the application-specific setting screen.
For detailed behavior, the following article will be helpful. UIApplicationOpenSettings URLString to investigate the behavior when opening the settings app
App-Prefs: root =
) to transition to a specific screen of the setting application.Please note that there seems to be an example of being rejected when transitioning to a specific screen of the setting application.
Details are written in the following article. What to do if 2.5.1 is rejected because you used App-Prefs: root =
Recommended Posts