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 b73eb2d commit f687d0dCopy full SHA for f687d0d
1 file changed
Objective-C/TOCropViewController/TOCropViewController.m
@@ -274,11 +274,13 @@ - (CGRect)frameForToolbarWithVerticalLayout:(BOOL)verticalLayout {
274
// fix: On iOS 26, overlay with iPadOS windowingControl area.
275
if (@available(iOS 26.0, *)) {
276
if (!verticalLayout) {
277
+#if __IPHONE_OS_VERSION_MAX_ALLOWED < 180000
278
UIViewLayoutRegion *layoutRegion = [UIViewLayoutRegion safeAreaLayoutRegionWithCornerAdaptation: UIViewLayoutRegionAdaptivityAxisVertical];
279
UIEdgeInsets edgeInsets = [self.view edgeInsetsForLayoutRegion:layoutRegion];
280
insets.top = edgeInsets.top;
281
insets.left = edgeInsets.left;
282
insets.bottom = edgeInsets.bottom;
283
+#endif
284
}
285
286
0 commit comments