I have problem regarding saving video in iPhone
simulator. I have tried several option like going to Library,but it doesn't look cool.
I want to add them so that I can picked them afterwards in my app.
I have problem regarding saving video in iPhone
simulator. I have tried several option like going to Library,but it doesn't look cool.
I want to add them so that I can picked them afterwards in my app.
1.Drag & drop the video file to the simulator
2.Press Action button on the tab bar
3.Save to camera roll
Now you can pick that video.
Edit
You should set the mediatype of the picker to list the videos. For that
#import <MobileCoreServices/MobileCoreServices.h>
UIImagePickerController *picker = [[UIImagePickerController alloc]init];
picker.mediaTypes =[[NSArray alloc] initWithObjects: (NSString *) kUTTypeMovie,kUTTypeVideo,kUTTypeImage, nil];
There are two ways