Helper method for superviews of UIView.
Function to turn device orientation into string.