title: Automation of Settings app, iPhone
body: <p>I am trying UI Automation on iPhone for connecting to any given Wi-Fi network. I want to automate Settings app. It should automatically:</p>
  
  <ol>
  <li>open Settings app;</li>
  <li>turn on Wi-Fi;</li>
  <li>connect to given network by providing <strong>SSID</strong> and <strong>WPA</strong>.</li>
  </ol>
  
  <p>My questions are:</p>
  
  <ol>
  <li>Is it possible to automate any inbuilt app using UI Automation? Does the Apple/iOS security model preclude any such access to inbuilt apps?</li>
  <li>If it is possible, how to achieve this?</li>
  </ol>