Merge pull request #17787 from warmenhoven/warmenhoven/pr/ios9-build-fix

ios: ios9 build fix
This commit is contained in:
LibretroAdmin 2025-04-09 10:55:22 -07:00 committed by GitHub
commit a10dbbc1d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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)