tags:

views:

184

answers:

1

hello devs,

im trying to create a circle image (static) and make it rotate when the user drags the image either clockwise or counter clockwise also keep its speed. i seen these effects in alot of apps in the app store. would anyone have a tutorial out to work with or a small sample?

thanks

+1  A: 

CGFloat Angle=(((int)slider.value*M_PI)/180);

        transform=CGAffineTransformScale(transform,appdel.objCustomImageView.scale,appdel.objCustomImageView.scale);

        transform= CGAffineTransformRotate(transform,Angle);

        appdel.objCustomImageView.transform = transform;
MobiHunterz