iPhone: Prevent View from Rotation

Posted by Matthias on Stack Overflow See other posts from Stack Overflow or by Matthias
Published on 2010-05-12T13:12:29Z Indexed on 2010/05/12 13:14 UTC
Read the original article Hit count: 249

Hi,

I use a UITabBarController with 4 views. The first of those 4 views should be able to rotate, the other three not. And now the problem is, when having a tab bar controller you have to set all used views to rotatable (i.e. returning TRUE in shouldAutorotateToInterfaceOrientation).

So, my question is now, can I prevent the three views from rotation even though the shouldAutorotateToInterfaceOrientation method returns TRUE?

Thanks for your help.

Regards Matthias

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective