let url = URL(string:UIApplication.openSettingsURLString)!
//UIApplication.shared.openURL(url as! URL) //非推奨のため、下記のものを使う
UIApplication.shared.open(url, options: [:], completionHandler: nil) //openURlが非推奨のためこちらを使用
More than 3 years have passed since last update.
アクセス許可が降りていない時、設定画面に飛ぶ処理
Last updated at Posted at 2020-08-08
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme