开发者

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().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜