简体   繁体   中英

How to increase Size of popOverView in iPad?

I ma Using Following code to pop photo library in 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];

How to increase the size of popOverView in this?

popoverContentSize属性控制弹出内容视图的大小。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM