开发者

download .doc files on iphone via application?

开发者 https://www.devze.com 2023-02-08 20:44 出处:网络
in my app i have one option, \"Collect files\" so if user press on this option, this request will send to server and server will reply....

in my app i have one option,

"Collect files" so if user press on this option, this request will send to server and server will reply....

my Que is

1: which type of file(extension) supp开发者_如何学JAVAorted by iphone device, so user can download it and see data in it.

2.what is the maximum size of file we can use for download?

thank u in advance


Not sure about the max file size. But for displaying .doc and .pdf (and a few more) will work fine. The easiest way yo display document is using a UIWebView. The UIWebView will allow you to display a wide array of filetypes, including .doc and .pdf. For more information on supported types check out this document.

There is also the QuickLook framework that has a few more bells and whistles for displaying documents your app don't support internally.

0

精彩评论

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

关注公众号