简体   繁体   English

我们可以将照片,视频和音频以外的文件从iPhone应用程序上传到服务器吗?

[英]Can we upload the file to server from iPhone app other than photo, video and audio

I have the option in my app to share the file. 我可以在应用中选择共享文件。 I have to upload the any file from iPhone to server. 我必须将任何文件从iPhone上传到服务器。 Is it possible, as far i know iPhone gallery only shows videos and images from where i can upload the file then, what user can browse to upload file. 是否有可能,据我所知,iPhone画廊仅显示可以上传文件的视频和图像,然后用户可以浏览以上传文件。 I have no idea about the thing i am talking. 我不知道我在说什么。 Please guide. 请指导。 Thanks in advance. 提前致谢。

For that you can use iCloud concept. 为此,您可以使用iCloud概念。 With iCloud you can upload, download any type of file other then picture, video, audio file. 使用iCloud您可以上传,下载图片,视频,音频文件以外的任何类型的文件。 But i am not sure that you can see it in any type of browsing media or in document directory. 但是我不确定您是否可以在任何类型的浏览媒体或文档目录中看到它。 As per my knowledge you have to make custom UI for that 据我所知,您必须为此创建自定义UI

You can check detailed document on iCloud here 您可以在iCloud上查询详细的文件在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM