View Full Version : More than one image

Aug 10, 2010, 10:23 PM
Hi Guys,
I am working on images, and I want to put two images on a same view, Could I do this? If I can, part of my code is like this. However, this only add pictures into imageView1, not imageView, could any one help me? Did I miss something?

Thanks a lot~~

IBOutlet UIImageView *imageView;
IBOutlet UIImageView *imageView1;
IBOutlet UIButton *button;
IBOutlet UIButton *TouchButton;

-(IBAction)buttonPressed: (id)sender;
-(IBAction)TouchButtonPressed: (id)sender;

-(void)actionSheet: (UIActionSheet *) actionSheet
didDismissWithButtonIndex: (NSInteger) ButtonIndex

UIImagePickerController *imagePicker = [[[UIImagePickerController alloc]init]autorelease];
imagePicker.allowsImageEditing = YES;
if (ButtonIndex ==[actionSheet destructiveButtonIndex])
[self selectExistingPicture];