views:

1135

answers:

0

Hi,

I have a list of images shown in a horizontal scroll view with "flip between" option. This scroll view is inside an tab bar.

My requirement is like, when i tap on that image it should rotate 90 degree to horizontal and be shown in fullscreen with animation. This is similar to what we have in default "Photos" application in iphone, when we rotate the device to left.

I got solution in web for rotate, flip and zoom seperately. I integrated all those and there comes the problem.

I am able to rotate (using CGAffineTransformRotate) image, flip (UIScrollView with vertical scrolling), but when I implement zoom (UIScrollView - viewFromZoomingInScrollView, scrollViewDidEndZooming).

But when I am zoom the rotated image in scrollview, the images are getting mingled and overlapped with one another.

Is my path correct? Please suggest me a solution as I am struggling in this for couple of days and I have to complete this asap.

Also if any one have already implemented this, pls guide me or provide me sample codes.

Thanks in advance.