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