title: using guided access in iPhone 6 programmatically
body: <p>Until now asper my knowledge it was not possible to restrict the app from exiting. User could press the home button and app will exit. Then came multitasking and when we press home button app would go in background, but on long press user can still close the app.</p>
  
  <p>I am working on developing anti-theft kind of application and needed to lock the phone programatically, but seems that it is not possible.</p>
  
  <p>Also another problem was if user exits app then there is no way it will get notifications from the web. After some research I found the we can restrict the application from being exited using <a href="http://www.assistiveware.com/support/faq/page/136" rel="nofollow noreferrer">GUIDED ACCESS</a> facility provided by iPhone6.</p>
  
  <p>But all the links that I found states the procedure to do it from settings menu of iPhone.
  I wanted to know if there is any way to do it programmatically or at least display relevent iphone settings screen directly.</p>