媒体插件图像裁剪在 android 中不起作用
Media plugin Image Crop not working in android
使用媒体插件,我尝试了代码,
var file = await CrossMedia.Current.TakePhotoAsync(new StoreCameraMediaOptions
{
AllowCropping = true
});
但是没有任何反应,当我从相机拍照时没有显示裁剪选项。
如果您阅读了 MediaPlugin
的 Readme
部分,您就会知道只有 iOS 和 UWP 支持裁剪。
并且您可以查看此Feature Request的回复,适用于Android平台:
Not possible as we launch the default Android camera and out of control from the library.
使用媒体插件,我尝试了代码,
var file = await CrossMedia.Current.TakePhotoAsync(new StoreCameraMediaOptions
{
AllowCropping = true
});
但是没有任何反应,当我从相机拍照时没有显示裁剪选项。
如果您阅读了 MediaPlugin
的 Readme
部分,您就会知道只有 iOS 和 UWP 支持裁剪。
并且您可以查看此Feature Request的回复,适用于Android平台:
Not possible as we launch the default Android camera and out of control from the library.