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.
It's very simple you just drag any . MOV file to your simulator. Now it will be opened in Safari browser. At top left corner there is a 'Done' button.
To copy and paste from case information displays, right-click on the display and use the options in the resulting local menu. For more information see: how to use key fields, creating new records by pasting data, and the cut/paste example provided in Simulator Tips.
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];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With