The Image I displayed in view is auto rotated, why?
I am displaying the image by getting image url from the server. it开发者_开发百科 is automatically displayed as rotated.
I checked in the fire fox it is displayed correctly, but when I am saving it in the desktop and then I opened and it is being rotated.
But where as in the internet explorer it displayed correctly in the browser and after saving it .
Generally this issue will happen when image has lost its orientation data.
So before showing the image you have to save them by UIImageJPEGRepresentation()
.
精彩评论