1
0
Fork 0
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:
jules 2014-12-16 17:20:43 +00:00
parent 0b67cb2b93
commit ad967325cd
2 changed files with 5 additions and 0 deletions

View file

@ -5,6 +5,8 @@
<dict>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>

View file

@ -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);