iOS上传.pdf文件 [英] iOS upload .pdf file

查看:1373
本文介绍了iOS上传.pdf文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用Objective C for iOS上传文件?我真的被卡住了。我可以使用UIImagePickerController上传图像,但是.pdf / .doc文件有这样的东西吗?

How do I upload a file using Objective C for iOS? I'm really stuck. I can upload an image using UIImagePickerController, but is there such a thing for .pdf/.doc files?

非常感谢提前,

推荐答案

不,没有,假设您的意思是属于iBooks的pdfs,而docs属于Pages。

No, there isn't, assuming you mean pdfs belonging to iBooks and docs belongs to Pages.

iOS上没有针对此类文档的集中存储,您的应用程序无法访问属于其他应用程序的文件。

There is no centralised storage on iOS for such documents, and your application cannot access files that belong to other applications.

如果pdf& .docs存储在您的应用程序中,您可以编写自己的选择器。可能值得更多地解释一下您的用例,因为可能有一种方法可以达到您想要的效果。

If the pdf & .docs are stored within your application, you can write your own picker. It might be worth explaining your use case a bit more, as there may be a way to achieve what you want.

这篇关于iOS上传.pdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆