When using storyboards in iOS 8 and above rotation works correctly for me. Is there some sample code that doesn't work?