【Swift3】アプリの設定画面に遷移する
UIApplicationOpenSettingsURLString
を使えばよい。
func goToAppSetting () { guard let settingsUrl = URL(string: UIApplicationOpenSettingsURLString) else { return } if UIApplication.shared.canOpenURL(settingsUrl) { UIApplication.shared.open(settingsUrl) } }