title: How to fix deep linking in iOS when the application has not installed in the device?
body: <p>I'm working with deep linking features for android and iOS, my back end is in CI. The deep linking is working for both Android and iOS when the application is installed. But if the application has not been installed then I face the problem.</p>
  
  <p>I have tried it this way:
  When any user clicks on the link then first it will redirect to the browser, after that from my back end code I am checking that the client device type. If the device is Android then I am redirecting it to Android application, if the device is iOS then it redirect to iOS application.
  But when the application hasn't been installed, it stops working.</p>
  
  <p>For Android I have put the following code:</p>
  
  <pre><code>header("Location: my.special.scheme://other/parameters/here")
  </code></pre>
  
  <p>For iOS have added the application scheme just before the URL.</p>
  
  <p>I think I have described all my scenarios. Please guide me how it should be redirected to the app store or the specific page when the application is not installed.</p>