ios - Download the Media (mp3) presented by the UIWebView in fullscreen -


so working on piece of code helps user in downloading mp3 files uiwebview. far has been working detecting last path component of view's url. (www.exampledownload.com/file.mp3). in cases absolute url doesn't finish in .mp3. uiwebview knows mp3 , opens on mediaplayer (as shown in attached screenshots).

i've tested mp3 download apps out there , able detect mp3 , download it. want know how detect file webview trying open. download protocol stablished. need actual download url of files. attach screenshots make myself more clear.

i've seen other apps in modify default media player, , webview shows mediaplayer button besides de normal playback buttons. (the download button) know how can done. thanks!

download mp3 play mediaplayer presented uiwebview

you can intercept url in webview:shouldstartloadwithrequest:navigationtype: , check if mp3 , return no , whatever want file.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -