I wanna go to settings if the user clicks on "go to settings", can someone please help?
Asked
Active
Viewed 69 times
1
-
1Please don't use images for code, instead paste the code into your question. – l'L'l Jan 23 '16 at 02:53
-
You can [edit] your post. When you paste the code, make sure to select it and press Ctrl+K to format it. – Arc676 Jan 23 '16 at 02:56
-
1Possible duplicate of [Opening the Settings app from another app](http://stackoverflow.com/questions/5655674/opening-the-settings-app-from-another-app) – Arc676 Jan 23 '16 at 02:59
-
im sorry bro im new to this, wont happen again – Unus Yousuf Jan 23 '16 at 02:59
1 Answers
0
Try this:
if let appSettings = NSURL(string: UIApplicationOpenSettingsURLString) {
UIApplication.sharedApplication().openURL(appSettings)
}

Lumialxk
- 6,239
- 6
- 24
- 47