The iPhone and the iPad screen rotates almost seamlessly based on how you’re holding it. But if your display is stuck in portrait or landscape orientation, here are a couple of ways to fix it.
Source :
My iPhone or iPad Screen Won’t Rotate. How Do I Fix It?