Deployment target increased to iOS 7. Removed deprecated UIViewController rotation method.