Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Kareny

macrumors newbie
Original poster
Jun 21, 2010
22
0
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];
}
}
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.