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
commit 50277787ea
No known key found for this signature in database
GPG key ID: C3336907360768E1

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")) {