tags:

views:

73

answers:

2

Hi all I am developing an iphone application which needs to show a an array of images in a single view,user should also be able to view maximized view when selected.I am looking for a sample to do this .

Thanks in advance

A: 

Well with the information I am getting from you, all you need to do is create a UIView and put images into it using:

UIImageView *image1 = [[UIImageView alloc] initWithFrame:CGRectMake();

and then when the user taps or double taps on that view then make it animate:

[UIView beginAnimation:nil, context:nil];

//Change size here

[image1 setFrame:CGrectMake()];

[UIView commitAnimations];
Jaba
Ok I was not being mean, or at least not trying to be with what I said. So please undo the thumbs down, and if you are going to thumbs down then please tell me why, or I won't fix what I did wrong
Jaba
+1  A: 

Take a look at UIImagePickerController

Simply create one and add it to your view hierarchy and you get all that image picking behaviour for free.

Jasarien