How to increase Size of PhotoLibrary View in iPad?

Posted by Shreedhar on Stack Overflow See other posts from Stack Overflow or by Shreedhar
Published on 2012-04-04T05:25:32Z Indexed on 2012/04/04 5:29 UTC
Read the original article Hit count: 220

Filed under:
|
|
|

Folwing code is to pop photoLibrary

videoPicker =
    [[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.popoverContentSize = CGSizeMake(500, 900);
   [pop setDelegate:self];
    [pop presentPopoverFromRect:[sender frame] inView:self.view permittedArrowDirections:UIPopoverArrowDirectionDown animated:YES];
    [videoPicker release];

How to increase the photoLibrary view(width X height) on pop?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ios