From 19a5b011101aa6b9464485a9d6b29a196f4556ee Mon Sep 17 00:00:00 2001 From: Tim Oliver Date: Sun, 7 Apr 2024 13:51:09 +0900 Subject: [PATCH] Remove 16x6 aspect ratio --- .../TOCropViewController/Constants/TOCropViewConstants.h | 1 - Objective-C/TOCropViewController/TOCropViewController.m | 3 --- 2 files changed, 4 deletions(-) diff --git a/Objective-C/TOCropViewController/Constants/TOCropViewConstants.h b/Objective-C/TOCropViewController/Constants/TOCropViewConstants.h index 7d73a50a..a3d16599 100644 --- a/Objective-C/TOCropViewController/Constants/TOCropViewConstants.h +++ b/Objective-C/TOCropViewController/Constants/TOCropViewConstants.h @@ -43,7 +43,6 @@ typedef NS_ENUM(NSInteger, TOCropViewControllerAspectRatioPreset) { TOCropViewControllerAspectRatioPreset5x4, TOCropViewControllerAspectRatioPreset7x5, TOCropViewControllerAspectRatioPreset16x9, - TOCropViewControllerAspectRatioPreset16x6, TOCropViewControllerAspectRatioPresetCustom }; diff --git a/Objective-C/TOCropViewController/TOCropViewController.m b/Objective-C/TOCropViewController/TOCropViewController.m index abac3c9e..a8fb131f 100755 --- a/Objective-C/TOCropViewController/TOCropViewController.m +++ b/Objective-C/TOCropViewController/TOCropViewController.m @@ -671,9 +671,6 @@ - (void)setAspectRatioPreset:(TOCropViewControllerAspectRatioPreset)aspectRatioP case TOCropViewControllerAspectRatioPreset16x9: aspectRatio = CGSizeMake(16.0f, 9.0f); break; - case TOCropViewControllerAspectRatioPreset16x6: - aspectRatio = CGSizeMake(16.0f, 6.0f); - break; case TOCropViewControllerAspectRatioPresetCustom: aspectRatio = self.customAspectRatio; break;