0 Replies Latest reply: Mar 16, 2012 8:40 AM by spinlight RSS

    Custom URL Scheme

    spinlight Community Member

      I'm trying to use the custom URL scheme to determin if an app is already installed on the users device. Can someone point me in the right direction to explore? How would I determine what apps the user already has installed so I can create a "launch" page within my app?

       

      Here is how to create a custome URL if anyone is interested:

       

      <InfoAdditions>

      <![CDATA[<key>UIDeviceFamily</key><array><string>2</string></array><key>CFBundleURLTypes</ key><array><dict><key>CFBundleURLName</key><string>com.company.myapp</string><key>CFBundle URLSchemes</key><array><string>myapp</string></array></dict></array><key>UIPrerenderedIcon </key><true/>]]></InfoAdditions>

              <requestedDisplayResolution>standard</requestedDisplayResolution>

       

      Then any URL like this will launch your app directly. From a browse or another app:

      <a href="myapp://">Open My App</a>