title: Is it possible to launch iTunes from a page within a UIWebView?
body: <p>I'm trying to get iTunes to launch from a html page loaded in a <code>UIWebView</code>.</p>
  
  <p>Using the example from Apple's documentation</p>
  
  <p><a href="http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/iTunesLinks.html#//apple_ref/doc/uid/TP40007896-SW1" rel="nofollow noreferrer">http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/iTunesLinks.html#//apple_ref/doc/uid/TP40007896-SW1</a></p>
  
  <pre><code> &lt;a
   href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?i=156093464&amp;id=156093462&amp;s=143441"&gt;
   &lt;img height="15" width="61" alt="Randy Newman - Toy Story
  - You&amp;#39;ve Got a Friend In Me" src="http://ax.phobos.apple.com.edgesuite.net/images/
   badgeitunes61x15dark.gif"&gt;&lt;/img&gt; &lt;/a&gt;
  </code></pre>
  
  <p>When I click on the button didFailLoadWithError: will get called with <code>WebKitErrorDomain 101</code>.</p>
  
  <p>(<code>shouldStartLoadWithRequest:</code> returns YES for any requests)</p>
  
  <p>The same html page loaded in a browser works.</p>
  
  <hr>
  
  <p>(There's actually another problem with that code, see this link 
  <a href="https://stackoverflow.com/questions/11659324/remote-image-doesnt-get-displayed-in-html-page-displayed-in-uiwebview">Remote image doesn&#39;t get displayed in html page displayed in UIWebView</a></p>
  
  <p>But after changing it to this it still doesn't work in UIWebView but does in a browser</p>
  
  <pre><code>  &lt;a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?i=156093464&amp;id=156093462&amp;s=143441"&gt;
        &lt;img height="15" width="61" src="Btn_Go.png""&gt;&lt;/img&gt;
    &lt;/a&gt;
  </code></pre>