how to rotate camera preview mode in iphone
<p>I am trying to rotate a <code>UIImage</code> while capturing an image using the camera. However, I am getting the preview in <code>portrait</code> mode only. How do I display the preview image in <code>landscape</code> mode?</p>
