We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d725a4 commit fc7ef3bCopy full SHA for fc7ef3b
1 file changed
Objective-C/TOCropViewController/TOCropViewController.m
@@ -314,6 +314,11 @@ - (CGRect)frameForCropViewWithVerticalLayout:(BOOL)verticalLayout
314
view = self.parentViewController.view;
315
}
316
317
+ // Always make the crop view edge-to-edge on iOS 26 and up
318
+ if (@available(iOS 26.0, *)) {
319
+ return view.bounds;
320
+ }
321
+
322
UIEdgeInsets insets = self.statusBarSafeInsets;
323
324
CGRect bounds = view.bounds;
0 commit comments