如何从设备中获取PDF文件以便能够从我的应用程序上载? [英] How to fetch the PDF file from device to be able to upload it from my application?

查看:52
本文介绍了如何从设备中获取PDF文件以便能够从我的应用程序上载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个应用程序,该应用程序具有一项功能,该功能允许用户将图像从图库上传(和下载)到服务器.现在,我应该也可以从设备上载PDF文件了.如何从iCloud提取PDF文件?没有关于如何进行的线索.

I'm working on an application, Where it has a feature that allows users to upload(& downloading the uploaded ones) the images from gallery to server. Now I should be able to upload the PDF files from the device as well. How can I fetch the PDF files from iCloud? No clue on how to proceed.

任何帮助将不胜感激.

推荐答案

UIDocumentPicker是我正在寻找的解决方案 https://developer.apple.com/库/内容/文档/文件管理/概念/DocumentPickerProgrammingGuide/Introduction/Introduction.html

UIDocumentPicker is the solution what I'm looking for https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/DocumentPickerProgrammingGuide/Introduction/Introduction.html

这篇关于如何从设备中获取PDF文件以便能够从我的应用程序上载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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