Answers for "go to settings of app to turn on premission swift"

1

swift open settings page

guard let settingsUrl = URL(string: UIApplication.openSettingsURLString) else {
  return
}

if UIApplication.shared.canOpenURL(settingsUrl) {
  UIApplication.shared.open(settingsUrl, completionHandler: { (success) in
                                                             print("Settings opened: \(success)") // Prints true
                                                            })
}
Posted by: Guest on March-04-2020

Code answers related to "go to settings of app to turn on premission swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language