How to rotate UIViews?

Posted by user717452 on Stack Overflow See other posts from Stack Overflow or by user717452
Published on 2012-09-11T14:00:52Z Indexed on 2012/09/24 3:37 UTC
Read the original article Hit count: 170

Filed under:
|
|
|
|

The Twitter app is a tab bar app on the iPhone. Nothing in any of the tabs will rotate, yet, when you click on a link from a tweet, the view controller that is pushed on top of it IS allowed to rotate. The only rotations I have ever doe is from tilting the device, landscape or portrait, but I don't understand how to use 2d transformations and animations to rotate views.

How do you rotate any view with that's a subclass of UIView?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ios