rotate uiview using touch (ipad and iphone) -


i trying design app , struggling think of best way it. i'm after advice please!

if imaging bicycle wheel in middle of ipad (and iphone)... want user able click on tyre , spin left or right. depending on speed of swish drive speed of wheel rotation.

it should rotate around centre of wheel , not move other direction.

do need use graphics code, or listen touch, check area touched, rotate image around it's centre left or right?

really i'm after pointers around methods use - i'm not being lazy , asking code, if knows of tutorials - immensely!!

thanks info.

your best bet use 1 of uigesturerecognizer subclasses, uipangesturerecognizer includes velocity.

apple's simplegesturerecognizers project started.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -