Skip to content

Commit eef7a48

Browse files
authored
Merge pull request #618 from TimOliver/ios-11-deprecate
Prepare for Xcode 26
2 parents 4ae04f0 + f2362aa commit eef7a48

28 files changed

+66
-93
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
x.y.z Release Notes (yyyy-MM-dd)
22
=============================================================
33

4+
2.8.0 Release Notes (2025-09-23)
5+
=============================================================
6+
7+
## Added
8+
9+
- Deprecated iOS 11 as it no longer supported in Xcode 26.
10+
11+
## Fixed
12+
13+
- A bug in iOS 26 where the toolbar buttons would appear misaligned.
14+
415
2.7.4 Release Notes (2024-05-08)
516
=============================================================
617

CropViewController.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Pod::Spec.new do |s|
66
s.homepage = 'https://github.com/TimOliver/TOCropViewController'
77
s.author = 'Tim Oliver'
88
s.source = { :git => 'https://github.com/TimOliver/TOCropViewController.git', :tag => s.version }
9-
s.platform = :ios, '11.0'
9+
s.platform = :ios, '12.0'
1010
s.source_files = 'Swift/CropViewController/**/*.{h,swift}', 'Objective-C/TOCropViewController/**/*.{h,m}'
1111
s.exclude_files = 'Objective-C/TOCropViewController/include/**/*.h'
1212
s.resource_bundles = {

Objective-C/TOCropViewController/Categories/UIImage+CropRotate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// UIImage+CropRotate.h
33
//
4-
// Copyright 2015-2024 Timothy Oliver. All rights reserved.
4+
// Copyright 2015-2025 Timothy Oliver. All rights reserved.
55
//
66
// Permission is hereby granted, free of charge, to any person obtaining a copy
77
// of this software and associated documentation files (the "Software"), to

Objective-C/TOCropViewController/Categories/UIImage+CropRotate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// UIImage+CropRotate.m
33
//
4-
// Copyright 2015-2024 Timothy Oliver. All rights reserved.
4+
// Copyright 2015-2025 Timothy Oliver. All rights reserved.
55
//
66
// Permission is hereby granted, free of charge, to any person obtaining a copy
77
// of this software and associated documentation files (the "Software"), to

Objective-C/TOCropViewController/Constants/TOCropViewConstants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// TOCropViewConstants.h
33
//
4-
// Copyright 2015-2024 Timothy Oliver. All rights reserved.
4+
// Copyright 2015-2025 Timothy Oliver. All rights reserved.
55
//
66
// Permission is hereby granted, free of charge, to any person obtaining a copy
77
// of this software and associated documentation files (the "Software"), to

Objective-C/TOCropViewController/Models/TOActivityCroppedImageProvider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// TOActivityCroppedImageProvider.h
33
//
4-
// Copyright 2015-2024 Timothy Oliver. All rights reserved.
4+
// Copyright 2015-2025 Timothy Oliver. All rights reserved.
55
//
66
// Permission is hereby granted, free of charge, to any person obtaining a copy
77
// of this software and associated documentation files (the "Software"), to

Objective-C/TOCropViewController/Models/TOActivityCroppedImageProvider.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// TOActivityCroppedImageProvider.m
33
//
4-
// Copyright 2015-2024 Timothy Oliver. All rights reserved.
4+
// Copyright 2015-2025 Timothy Oliver. All rights reserved.
55
//
66
// Permission is hereby granted, free of charge, to any person obtaining a copy
77
// of this software and associated documentation files (the "Software"), to

Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// TOCropViewControllerTransitioning.h
33
//
4-
// Copyright 2015-2024 Timothy Oliver. All rights reserved.
4+
// Copyright 2015-2025 Timothy Oliver. All rights reserved.
55
//
66
// Permission is hereby granted, free of charge, to any person obtaining a copy
77
// of this software and associated documentation files (the "Software"), to

Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.m

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// TOCropViewControllerTransitioning.m
33
//
4-
// Copyright 2015-2024 Timothy Oliver. All rights reserved.
4+
// Copyright 2015-2025 Timothy Oliver. All rights reserved.
55
//
66
// Permission is hereby granted, free of charge, to any person obtaining a copy
77
// of this software and associated documentation files (the "Software"), to
@@ -79,11 +79,8 @@ - (void)animateTransition:(id <UIViewControllerContextTransitioning>)transitionC
7979
if ((self.isDismissing && !CGRectIsEmpty(self.toFrame)) || (!self.isDismissing && !CGRectIsEmpty(self.fromFrame))) {
8080
imageView = [[UIImageView alloc] initWithImage:self.image];
8181
imageView.frame = self.fromFrame;
82+
imageView.accessibilityIgnoresInvertColors = YES;
8283
[containerView addSubview:imageView];
83-
84-
if (@available(iOS 11.0, *)) {
85-
imageView.accessibilityIgnoresInvertColors = YES;
86-
}
8784
}
8885

8986
cropViewController.view.alpha = (self.isDismissing ? 1.0f : 0.0f);

Objective-C/TOCropViewController/Models/TOCroppedImageAttributes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// TOCroppedImageAttributes.h
33
//
4-
// Copyright 2015-2024 Timothy Oliver. All rights reserved.
4+
// Copyright 2015-2025 Timothy Oliver. All rights reserved.
55
//
66
// Permission is hereby granted, free of charge, to any person obtaining a copy
77
// of this software and associated documentation files (the "Software"), to

0 commit comments

Comments
 (0)