Avoid UIWebView load iTunes App
问题 How to avoid an UIWebView from opening the iTunes App when loading an iTunes URL? Example URL: http://itunes.apple.com/nl/app/bluppr-postcards/id348147229?mt=8 Above URL loads the iTunes App directly. UIWebViewDelegate doesn't seem to be able to control this to just load the page in the UIWebView. It seems it's controlled by the JavaScript function detectAndOpenItunes(); in the body tag of the page. Any ideas? 回答1: You're right that the relevant function is detectAndOpenItunes(), which is