tags:

views:

342

answers:

1

Hello Every one I'm working on google maps app for iphone i'm stuck with the way the UIImagView created moves on the screen, Besides that i have created 3*3 UIImageViews so that i can gather good amount of data on one go...

But the movement of image not good i'm doing

horizontalOffset = mapCenterImgView.center.x;

final_x = touch.x - horizontalOffset;

mapCenterImgView.frame = CGRectMake(final_x, 0, 320, 490);

This for center image... But smooth and sliding is not achievable besides when i do some what similar approach for other views it causes complete mess all round...

Please suggest something to improve my condition... Please >>>

A: 

since you are using an UIImageView, you can easily use quartz's built in animation fucntions!!!

http://www.switchonthecode.com/tutorials/creating-basic-animations-on-iphone

Edward An