我正在使用
1. 我从
2. 当我拍照并将其放在
从我的观察中可以看出,拍出来的图片在Y轴上稍微高了一点。有没有什么办法解决这个问题?如果必要,我可以在输出的图片上使用某种剪裁方式。
UIImagePickerController
的UIView
作为我自己UIViewController
的子视图。当我拍照时,会出现问题。具体表现如下:1. 我从
UIImagePickerController
的视图中看到的图片是这样的:
![enter image description here](https://istack.dev59.com/EBac5.webp)
UIImageView
上时,我看到的是这个:
![enter image description here](https://istack.dev59.com/sSSyh.webp)
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info;
因为我在UIImageView
的contentMode
中使用了UIViewContentModeScaleAspectFill
,所以我可以理解这种行为,但我希望能够指定从哪个Y轴开始进行“查看”。