title: Safari App takes user to Settings App in iPhone in iOS 6. How can this be done in my iPhone app?
body: <p>I had a requirement to redirect a user to the iOS Settings application from within my application. I know that in iOS 5, we could use the following URL scheme to achieve this: prefs:root=General. </p>
  
  <p>And I could use the following line of code:</p>
  
  <pre><code>[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General"]]
  </code></pre>
  
  <p>But Apple no longer supports this open URL scheme since the iOS 5.1 update. </p>
  
  <p>But recently I have noticed that, in the Appstore app and Safari browser etc, Apple let this happen.Please refer to the attached image where Apple shows the alert. And on clicking the Settings button, user is taken to the Settings app. Any idea, how this is done. I believe if this can be done in App Store application, there should be some way that I can do it in my application also. Please comment if someone has a fix, or more idea on how this can be done.</p>
  
  <p><img src="https://i.stack.imgur.com/gis4Y.png" alt="enter image description here"></p>