如何以编程方式选择视频文件并上传到iPhone中的服务器 [英] How to select a video file and upload to server in iPhone programmatically
本文介绍了如何以编程方式选择视频文件并上传到iPhone中的服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想选择iPhone中的视频文件,然后将其上传到服务器.
I want to select an video file located in my iPhone and have to upload it to the server.
由于UIImagePicker用于选择照片库或其他模式中的可用图片,是否可以通过编程方式选择位于iPhone中的文件?
As UIImagePicker is used to select pictures available in our photo library or some other mode, is any option to select a file located in our iPhone programmatically?
推荐答案
使用资产库.请参阅以下问题:使用AssetsLibrary框架iPhone访问图书馆中的视频吗?
Use Assets library. Refer this question: Accessing Videos in library using AssetsLibrary framework iPhone?
在搜索中,我发现这种方法使用图像选择器控制器访问视频.
And on searching, I found this method to access videos using image picker controller.
这篇关于如何以编程方式选择视频文件并上传到iPhone中的服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文