tags:

views:

79

answers:

1

Hello All,

How can i Pick more then One Image from the UIImagePickerController?

+1  A: 

I don’t think you can do that directly, through the API. But you can simply keep the picker open and build up a list of images in the callback:

- (void) imagePickerController: (UIImagePickerController*) picker
    didFinishPickingMediaWithInfo: (NSDictionary*) info
{
    [images addObject:[info objectForKey:UIImagePickerControllerOriginalImage]];
    // There has to be some exit condition,
    // otherwise the user would pick forever.
    if ([images count] == 3)
        [self dismissModalViewControllerAnimated:YES];
}
zoul