ios: ios9 build fix

This commit is contained in:
Eric Warmenhoven 2025-04-09 08:49:35 -04:00
parent 3fb20b49c8
commit 0533debeab
1 changed files with 2 additions and 0 deletions

View File

@ -198,10 +198,12 @@ static void apple_display_server_set_screen_orientation(void *data, enum rotatio
[[CocoaView get] setShouldLockCurrentInterfaceOrientation:NO];
break;
}
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 160000
if (@available(iOS 16.0, *))
{
[[CocoaView get] setNeedsUpdateOfSupportedInterfaceOrientations];
}
#endif
}
static enum rotation apple_display_server_get_screen_orientation(void *data)