iphone - IOS :Get UIImage Orientation inside a UIImageview with exif data? -
i rotating uiimageview , uiimage inside of it. want orientation of uiimage after rotating uiimageview.
you can use myimage.imageorientation, give uiimageorientation.
or
if used uiimagepickerviewcontroller use delegate method
"imagepickercontroller:didfinishpickingmediawithinfo:"
in method can access info dictionary
nslog(@"%d", [info objectforkey:@"orientation"]);
Comments
Post a Comment