Question : swift open settings page
Answered by : mobile-star
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 })
}
Source : | Last Update : Wed, 11 Mar 20