CGAffineTransformInvert: singular matrix in UIImagePickerController with showsCameraControls = NO

后端 未结 1 1063
梦如初夏
梦如初夏 2020-12-11 04:53

I tried this twice with two different apps and I get the same thing. I have a set up a UIImagePIckerController instance as follows:

- (IBAction)addImage:(UIB         


        
相关标签:
1条回答
  • 2020-12-11 05:28

    I believe it to be largely benign as Apple's own PhotoPicker sample code generates this warning. Rotation has to do with matrices and while I'm not sure which matrix in particular is getting rotated, it is considered a mathematical violation to perform operations on matrices with a determinant of zero (similar to dividing by zero). Such a matrix is not invertible or 'singular':

    http://en.wikipedia.org/wiki/Rotation_matrix

    http://en.wikipedia.org/wiki/Determinant

    http://en.wikipedia.org/wiki/Singular_matrix#singular

    0 讨论(0)
提交回复
热议问题