Reputation: 22873
I want to upload a video to webserver. I can upload the video but the problem is how should i pick a video. Means I know there is a default UIImagePickerController that i can use to pick image, is there any thing similar to pick movies in iPhone?
Hope you are getting my problem.
Thanks
Upvotes: 0
Views: 1239
Reputation: 307
Use AVFoundation to capture video and upload it using MKNetworkKit.
Upvotes: 0
Reputation: 11
NSString *path = [[NSBundle mainBundle] pathForResource:@"ddd" ofType:@"avi"];
NSData *data = [NSData dataWithContentsOfFile:path];
Upvotes: 1
Reputation: 6054
Assets library is another option that you can fetch all photos and videos programaticaly but in that you case you have to make your own pickerviewcontroller .
Upvotes: 0