Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

willRotateToInterfaceOrientation not being called

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

like image 268
Michael Waterfall Avatar asked Oct 04 '09 12:10

Michael Waterfall


1 Answers

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.

like image 83
Daniel Avatar answered Oct 06 '22 01:10

Daniel