rohit0690
rohit0690

Reputation: 21

how to set the orientation of image in iphone sdk

Can any one tell me that how can I set the image orientation or check by which I can keep the change image in the potrait form from other orientation

Thanks

Rohit

Upvotes: 0

Views: 651

Answers (1)

Anton
Anton

Reputation: 3372

Try imageWithCGImage:scale:orientation: and imageOrientation property of UIImage. Works on iOS 4.0 and higher though.

Upvotes: 1

Related Questions