我收到錯誤消息 -使用未聲明的標識符的「kUTTypeMovie」
-(IBAction)selectVideo:(id)sender {
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
imagePicker.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum;
imagePicker.mediaTypes = [[NSArray alloc] initWithObjects:(NSString *)kUTTypeMovie, nil];
imagePicker.delegate = self;
[self presentModalViewController:imagePicker animated:YES];
}
有什麼不妥的地方 - 在下面的代碼使用未聲明的標識符的「kUTTypeMovie」
?
感謝