This panorama is not completely taken on the iPhone. I had taken 2 separate photos and then manually stitched them together in Photoshop CS6. Further adjustments were done in Lightroom 4 to bring it to what I remembered the view looked like.
It is a lot more tedious than just whipping out an iPhone panorama app (of which there are plenty. iOS6 even has the function built-in) and creating a similar photo instantly on the phone. However, this method provides more control over the final product.
- Tips on Taking Panoramic Photos With the iPhone 5 (techattitude.com)