2012-11-16 63 views

回答

0

下面的代碼解決了我的問題。得到它從here

UIImage* rotatedImage = [UIImage imageWithCGImage:myImage.CGImage scale:1.0 orientation:UIImageOrientationLeft]; 
myImageView.image = rotatedImage; 
0

是UIImage對象嗎?如果是這樣,請檢查方向屬性。根據您的原始圖像數據來自UIImage方向的位置可能會受到相關EXIF標記的方向設置的影響。