load the videos in ipod/iphone library but always crash

Posted by user262325 on Stack Overflow See other posts from Stack Overflow or by user262325
Published on 2011-02-09T23:24:17Z Indexed on 2011/02/09 23:25 UTC
Read the original article Hit count: 183

Filed under:

Hello everyone

I hope to load the videos in ipod/iphone library and list in UITableView like app 'videos'. the codes show below, but it always cause crash

UIImagePickerController *picker=[[UIImagePickerController alloc]init];
picker.sourceType= UIImagePickerControllerSourceTypePhotoLibrary;
picker.mediaTypes = [NSArray arrayWithObject:kUTTypeMovie];
picker.delegate = self;

Welcome any comment

Thanks

interdeb

© Stack Overflow or respective owner

Related posts about iphone