1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

CMake: Fix issue where UIRequiresFullScreen key was not written to plist

This commit is contained in:
reuk 2021-02-17 11:06:35 +00:00
parent b1917085db
commit fd1a9b6d14
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
2 changed files with 2 additions and 2 deletions

View file

@ -1883,6 +1883,7 @@ function(_juce_initialise_target target)
BACKGROUND_BLE_ENABLED # iOS only
CUSTOM_XCASSETS_FOLDER # iOS only
TARGETED_DEVICE_FAMILY # iOS only
REQUIRES_FULL_SCREEN # iOS only
ICON_BIG
ICON_SMALL
COMPANY_COPYRIGHT

View file

@ -206,8 +206,7 @@ namespace build_tools
if (statusBarHidden)
addPlistDictionaryKey (*dict, "UIStatusBarHidden", true);
if (requiresFullScreen)
addPlistDictionaryKey (*dict, "UIRequiresFullScreen", true);
addPlistDictionaryKey (*dict, "UIRequiresFullScreen", requiresFullScreen);
addIosScreenOrientations (*dict);
addIosBackgroundModes (*dict);