I am making one Paint application..The button marked with Red circle, I want it to be rotated 90 degree “when orientation is changed to Landscape mode”.. Image marked with RED circle is placed on BUTTON.. So should i rotate button or image when orientation changes??
Hope this description will give you idea about my problem.. Thanks..
Please follow this link to see screenshot as i am not allowed to post image..
http://imageshack.us/photo/my-images/26/screenshot20110712at507.png/
You can set the frame of UIButton in the following method as follows:
In .h class
And in .m class:
So, you can change the frame of your button as per the requirement.