iphone image captured from camera rotate -90 degree automatically

后端 未结 7 1545
后悔当初
后悔当初 2020-12-01 04:57

Programatically I have fetched image from my camera in my app. It has been fetched nicely but when I shift to another view and dismiss that view at that time my image automa

7条回答
  •  一个人的身影
    2020-12-01 05:19

    Try this property

    @property (nonatomic) CGAffineTransform cameraViewTransform

    and rotate is with -90 degree and then capture the image. If doesn't work the use the code given by Cocoa Matters.

提交回复
热议问题