Use iOS method for checking orientation