0

Possible Duplicate:
Opening the Settings app from another app

I would like to switch my user to settings app if he answered by no for using his localisation. i'm using an alert view to do that

Community
  • 1
  • 1
Ziad.T
  • 119
  • 4

1 Answers1

-2

Use this line:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General"]]

See this question for more details.

Edit: As Reed wrote in the comments, this is not possible in iOS 5.1.

Community
  • 1
  • 1
matsr
  • 4,302
  • 3
  • 21
  • 36