title: Downloading "mobileconfig" file from an App
body: <p>My org is creating an app, that will have certain wifi hotspots listed in a mobile config file, so that the user does not have to write the password for these wifi when he is in range.
  I know this can be done using <code>.mobileconfig</code> file. But I have serious doubts.</p>
  
  <p>Here are few questions regarding the app:</p>
  
  <ol>
  <li><p>Can <code>.mobileconfig</code> file be created programatically. I cannot find a link to how to cretae this programatically (not using iPCU).</p></li>
  <li><p>Will Apple allow an app that creates <code>.mobileconfig</code> file and asks the user to download it and install it, so as to change the wifi settings?</p></li>
  <li><p>Is making the user download this <code>.mobileconfig</code> file only possible via Safari or Mail? Is there any way that this file be opened directly from the app to the settings screen?</p></li>
  </ol>
  
  <p>Thanks in advance. :)</p>