123456789101112131415161718192021 |
- //
- // AVCapturePhotoOutput+VersionAdaptor.m
- // PanoramicCameraSDK
- //
- // Created by 王昭威 on 2023/1/14.
- //
- #import "AVCapturePhotoOutput+VersionAdaptor.h"
- @implementation AVCapturePhotoOutput (VersionAdaptor)
- - (void)setOutputPhotoDimensions:(CMVideoDimensions)maxPhotoDimensions{
- if(@available(iOS 16, *)){
- // self.maxPhotoDimensions = maxPhotoDimensions;
- }
- else if(@available(iOS 10, *)){
- self.highResolutionCaptureEnabled = YES;
- }
- }
- @end
|