以1080x1440分辨率显示预览;使用代码在iPhone8Plus上获取最大分辨率(3024x4032)和质量的照片:capturePhotoOutput?.capturePhoto(with:configurePhotoSettings(),delegate:self)照片设置:privatefuncconfigurePhotoSettings()->AVCapturePhotoSettings{letphotoSettings=AVCapturePhotoSettings()photoSettings.isHighResolutionPhotoEnabled=truephotoS