When i choose photo that taken in portrait mode the ALAsset give me it in landscape mode, and i found a lot of rotate methods and non of them was really rotate the UIImage .
this is how i take the UIImage:
[UIImage imageWithCGImage:[[asset defaultRepresentation] fullResolutionImage]]
can any one did stuck with this problem too?
如果有人遇到相同的问题,则可以使用以下网址中的方法: http : //www.platinumball.net/blog/2009/03/30/iphone-uiimage-rotation-and-mirroring/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.