If I want to download an mp4 file, an iPhone movie player (MPMoviePlayerController) pops out and plays the video. My question is: can I get some kind of a message that it pops up or perhaps even prevent it from appearing?
R – Movie Player in UIWebView
iphonempmovieplayercontrolleruiwebviewvideo
Best Answer
One thing you could try is setting a delegate for your UIWebView and implementing
-webView:shouldStartLoadWithRequest:navigationType:
. Return NO if it's an mp4 (or mov) file.