Showing posts with label uiwebviewdelegate. Show all posts
Showing posts with label uiwebviewdelegate. Show all posts

Tuesday, April 10, 2012

How to handle app URLs in a UIWebView?


I recently found that my UIWebView was choking on ITMS links. Specifically, from the UIWebView in my app, if I navigate to a site such as this one and click the "Available on the App Store" link, UIWebView would error out with "Error Domain=WebKitErrorDomain Code=101 The URL can't be shown."