Implementing the new viewWillTransitionToSize delegate method causes willRotateToInterfaceOrientation not being called. Therefore there is no need to check the version of iOS on willRotateToInterfaceOrientation