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