开发者

iPhone Camera pictures from UIImagePickerController are sideways

My application supports taking pictures from iPhone in portrait mode and upload to the server.

Howev开发者_JAVA百科er, the pictures taken are appearing in sideways once uploaded to the server.

Please help!

-KC


Keep in mind that the image has an associated imageOrientation property that will determine the correct orientation to display the image.


Images captured used AV Foundation (at least using AVCapture, which I'm using) are taken in landscape mode, so you have to rotate them clockwise before sending to the server.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜