views:

1141

answers:

1

Hi,

I'm returning YES in my view controller's shouldAutorotateToInterfaceOrientation function, and I can see using breakpoints that YES is being returned, however the willRotateToInterfaceOrientation method isn't being called, and nor is any other rotating method. It seems like after returning YES nothing happens!

Any ideas?

Mike

+3  A: 

Is this views viewController a subview of some other root view controller thats not a navigation controller? if so then the call does not propagate to the subviews controller, so that might be why your view isnt rotating.

Daniel
I'm trying to handle the calls in a table view controller that is the root of a navigation controller, which itself is a tab in a tab controller. Is that the right place to detect it?
Michael Waterfall