iphone - orient a uiimageView to the center of the screen -
well have several images of plans that, every time open application, created @ random position. want, every time plan created, nose oriented center of screen, think must calculate angle between center , image , rotation, i'm not sure . can me please ! sorry english i'm french :/
myimageview.transform = cgaffinetransformmakerotation(30 * m_pi / 180.0); //this rotate 30 degres. luck!
to angle need need trig.
Comments
Post a Comment