title: Downloading and Installing IPA from server if user clicks on button on Iphone
body: <p>I am working on an app where I deploy the .ipa file and manifest.plist on my server and from there I try to install the app to my iphone. </p>
  
  <p>The app is initially installed but I need to check if a latest version is available on the server. I have done this part and now wish to install the latest .ipa from the server directly to my phone without redirecting user to the html page of the server</p>
  
  <p>Found some links on stack overflow, especially this:
  <a href="https://stackoverflow.com/questions/23561370/download-and-install-an-ipa-from-url-on-ios">Download and install an ipa from url on iOS</a>
  I have done this:</p>
  
  <pre><code> let endPointURL = NSURL(string: "itms-services://?action=download-manifest&amp;url=myUrlString")
          UIApplication.sharedApplication().openURL(endPointURL!)
  </code></pre>
  
  <p>I get unsupported URL exception. Can anyone tell me how I can achieve this? Is there any other way to directly start installing the upgrade without navigating to the actual html page?</p>