views:

84

answers:

0

I have a UIScrollView with a number of imageViews in it. All of them loads independantly and finally the UIScrollView will gets its picture(its a tiled map). I have written touch functions for pinch gesture, single tap and double tap.

But the problem is when I do the pinch gesture, it will take time for the background image to load(since all imageviews shud get its picture and I will show the whole picture together). So after i do my pinch zooming, suddenly after 2 r 3 seconds the zoomed map comes which doesnt give the effect of zooming.

So when i do the pinch gesture, I want the image which is already present on the UIScrollView to just zoom in or out and then my loading to happen. So how can i just enlarge or de-zoom my already present image when i do the pinch??