public async takePicture(): Promise<string> {
const image: CameraPhoto = await Camera.getPhoto({
quality: 90,
allowEditing: true,
correctOrientation: true,
resultType: CameraResultType.Uri,
source: CameraSource.Camera
}).catch((e) => {
throw new Error(e);
});
return this._IMAGE = image.webPath;
}
我只是试图捕捉和错误,但点击取消不会抛出一个错误相比,科尔多瓦了。我怎样才能赶上火车
cancel
在照相机上