我使用以下代码在ipad中弹出照片库..
[[UIImagePickerController alloc] init];
videoPicker.delegate = self;
videoPicker.sourceType =
UIImagePickerControllerSourceTypePhotoLibrary;
videoPicker.mediaTypes = [NSArray arrayWithObjects:(NSString *) kUTTypeImage,(NSString *)kUTTypeMovie,nil];
videoPicker.allowsEditing = YES;;
pop = [[UIPopoverController alloc]initWithContentViewController:videoPicker];
[pop setDelegate:self];
[pop presentPopoverFromRect:[sender frame] inView:self.view permittedArrowDirections:UIPopoverArrowDirectionDown animated:YES];
[videoPicker release];
如何在此增加popOverView的大小?
答案 0 :(得分:0)
popoverContentSize
属性控制弹出窗口内容视图的大小。