【发布时间】:2018-12-14 19:17:39
【问题描述】:
当我在 Pixel 中打开相机时,相机视图不同,但在手机设备中它工作正常,请帮我解决。 手机中相对于标签的摄像头位置不同。 因此,图像保持垂直,不会随手机旋转 90 度。
return new AspectRatio(
aspectRatio: controller.value.aspectRatio,
child: new CameraPreview(
controller,
),
);
【问题讨论】:
-
你的描述有点难懂,至少对我来说。我想添加屏幕截图会有所帮助。
-
好的,我可以解释更多。
-
不清楚你在问什么。见how to ask。
-
您需要为相机设置旋转
-
你能给我一些提示吗?