UIImage 图片剪裁后方向旋转

UIImage 有一个 imageOrientation 的属性,使用相机拍摄的图片会有该属性信息。此时如果直接对 image 进行 CGImageCreateWithImageInRect 这样的剪裁操作,剪裁过的图片会丢失 imageOri...