开发者

Download Request - iPhone SDK

I am tr开发者_运维技巧ying to create an app where the user clicks on a download link through a UIWebView and it will present a pop-up saying "do you want to download this file". I just don't know how to get the download request when the user taps on a download link. If anyone knows how to do this please leave a reply.

thanks,

Kevin


-[<UIWebViewDelegate> webView:shouldStartLoadWithRequest:navigationType:]

The request parameter will have all the info about the URL that the request is for, and the navigationType parameter tells you how this request was initiated (a link was tapped, a form was submitted, something else, etc).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜