我的 ipod 中有视频,但图像选择器说没有视频,如果有人可以破解它,我会很感激
UIImagePickerController *videopicker = [[UIImagePickerController alloc]init];
videopicker.delegate = self;
videopicker.mediaTypes =
[[NSArray alloc] initWithObjects: (NSString *) kUTTypeMovie, nil];
videopicker.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum;
[self presentModalViewController:videopicker animated:YES];
videopicker.wantsFullScreenLayout = YES;