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

iOS: Added options to the Projucer and CMake to set UIRequiresFullScreen .plist option

This commit is contained in:
ed 2021-02-05 09:19:33 +00:00
parent 271a9cd7a4
commit 65f2de3def
7 changed files with 18 additions and 4 deletions

View file

@ -203,12 +203,12 @@ namespace build_tools
{
if (type != ProjectType::Target::AudioUnitv3PlugIn)
{
// Forcing full screen disables the split screen feature and prevents error ITMS-90475
addPlistDictionaryKey (*dict, "UIRequiresFullScreen", true);
if (statusBarHidden)
addPlistDictionaryKey (*dict, "UIStatusBarHidden", true);
if (requiresFullScreen)
addPlistDictionaryKey (*dict, "UIRequiresFullScreen", true);
addIosScreenOrientations (*dict);
addIosBackgroundModes (*dict);
}

View file

@ -68,6 +68,7 @@ namespace build_tools
bool fileSharingEnabled = false;
bool documentBrowserEnabled = false;
bool statusBarHidden = false;
bool requiresFullScreen = false;
bool backgroundAudioEnabled = false;
bool backgroundBleEnabled = false;
bool pushNotificationsEnabled = false;