mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Introjucer: Added a flag to the iOS plist to work around flickering problems when launching the app caused by the OS giving strange screen size values.
This commit is contained in:
parent
0b67cb2b93
commit
ad967325cd
2 changed files with 5 additions and 0 deletions
|
|
@ -5,6 +5,8 @@
|
|||
<dict>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<false/>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
|
|
|
|||
|
|
@ -540,7 +540,10 @@ private:
|
|||
dict = plist->createNewChildElement ("dict");
|
||||
|
||||
if (iOS)
|
||||
{
|
||||
addPlistDictionaryKeyBool (dict, "LSRequiresIPhoneOS", true);
|
||||
addPlistDictionaryKeyBool (dict, "UIViewControllerBasedStatusBarAppearance", false);
|
||||
}
|
||||
|
||||
addPlistDictionaryKey (dict, "CFBundleExecutable", "${EXECUTABLE_NAME}");
|
||||
addPlistDictionaryKey (dict, "CFBundleIconFile", iconFile.exists() ? iconFile.getFileName() : String::empty);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue