You can try to register download requests at application startup. Perhaps the apple automatically changes http:// to itms-apps or http://phobos or something in that direction. If so, then you can lock the load when it is called using something like this:
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType; { NSURL *loadURL = [[request URL] retain]; NSLog(@"%@",loadURL); if([[loadURL absoluteString] hasPrefix:@"http://"]) { [loadURL release]; return TRUE; } [loadURL release]; return FALSE; }
Good luck. I am curious to know what ultimately works.
source share