Turn on your iPhone and open the Camera app. At the bottom of the screen, swipe to the left until you reach Panorama mode.
Hold your iPhone in potrait mode and not in landscape mode.
Decide if you want to shoot the photo from left to right or from right to left. Tap the arrow if you want to shoot from right to left.
With the iPhone in the starting position, tap the circular capture button at the top of the screen. Slowly move the phone in the direction of the photo. Make sure that the arrow stays as close to the yellow line as possible.
When you are done taking the photo, tap on the capture button again. The photo is stored in your Photos app. Open the photo by tapping it in the lower-left corner of the screen. Make sure that the panoramic photo appears how you intended. You may have to retake the photo if you move the phone too drastically during the shot.