Merge pull request #114904 from rsanchezsaez/apple/fix-visionos-warning

Avoid warning when compiling on visionOS 26 SDK
This commit is contained in:
Rémi Verschelde
2026-01-13 11:06:45 +01:00

View File

@@ -239,7 +239,7 @@
// MARK: Orientation
#if TARGET_OS_IPHONE
#ifdef IOS_ENABLED
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator {
[super viewWillTransitionToSize:size withTransitionCoordinator:coordinator];
@@ -255,7 +255,7 @@
}
}];
}
#endif // TARGET_OS_IPHONE
#endif
- (UIRectEdge)preferredScreenEdgesDeferringSystemGestures {
if (GLOBAL_GET("display/window/ios/suppress_ui_gesture")) {