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:
parent
271a9cd7a4
commit
65f2de3def
7 changed files with 18 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue