Almost every iPhone user has been in the situation where their iPhone doesn’t know which way is up. There are plenty of times when you are lying down and your iPhone keeps switching from landscape to portrait. This is a simple fix. Swipe up on your home screen and press the “Portrait Orientation Locked” Icon (to the very left in the picture below). You will then never have to deal with the issue again.