tags:

views:

13

answers:

1

This is the code to pick a single image from the Library

-(void)imagePickerController:(UIImagePickerController*)picker didFinishPickingMediaWithInfo:(NSDictionary*)info {

UIImage *image     = [info objectForKey:@"UIImagePickerControllerOriginalImage"];

NSMutableDictionary *data = [[[NSMutableDictionary alloc] init] autorelease];
[data setValue:image forKey:@"image"];
[data setValue:picker forKey:@"picker"];

[self performSelectorInBackground:@selector(uploadImage:) withObject:data];

}

-(void) uploadImage:(id) _data { // logic for uploading image is in here }

How do I enable more than one image to be selected by the picker so I can upload multiple images.

Thanks

A: 

By now, the SDK does not support selecting multiple images from the library. However, you can take several photos from the camera as described in the UIImagePickerController Class reference

muffix