Note than when you’re using the Master/Detail Template or any Split View Controller app you need to implement the above method in BOTH view controllers. Don’t ask me why – I’m just the messenger.

If you have an app based on a tab bar controller which houses several other view controllers, it’s enough to add this statement once to the initial view controller to make rotation work on all other view controllers. So the view controller currently “in vision” needs to have the above statement added.