Created
June 4, 2017 11:39
-
-
Save zs40x/45ef0841be997e0ee643e3e54feb2464 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guard let settingsURL = URL.init(string: UIApplicationOpenSettingsURLString) else { return } | |
guard UIApplication.shared.canOpenURL(settingsURL) else { return } | |
UIApplication.shared.open(settingsURL, completionHandler: nil ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment