From 967e671e6e9ce2993eebdd08f876bfc47934aa95 Mon Sep 17 00:00:00 2001 From: Richard Huveneers Date: Mon, 14 Sep 2026 20:30:05 +0200 Subject: [PATCH] Add visionOS 26 guard for UICornerConfiguration --- Objective-C/TOCropViewController/Views/TOCropToolbar.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objective-C/TOCropViewController/Views/TOCropToolbar.m b/Objective-C/TOCropViewController/Views/TOCropToolbar.m index d500619d..fe171af6 100644 --- a/Objective-C/TOCropViewController/Views/TOCropToolbar.m +++ b/Objective-C/TOCropViewController/Views/TOCropToolbar.m @@ -58,7 +58,7 @@ - (void)setup { UIView *containerView = self; #ifdef __IPHONE_26_0 - if (@available(iOS 26.0, *)) { + if (@available(iOS 26.0, visionOS 26.0, *)) { UIVisualEffect *effect = nil; #if !TARGET_OS_VISION // We've been getting reports that some devices have been crashing with the error message