From ad967325cd935938e53c1d3f8ef9232dc84bc39b Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 16 Dec 2014 17:20:43 +0000 Subject: [PATCH] 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. --- examples/Demo/Builds/iOS/Info.plist | 2 ++ .../Source/Project Saving/jucer_ProjectExport_XCode.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/examples/Demo/Builds/iOS/Info.plist b/examples/Demo/Builds/iOS/Info.plist index f164cb76ad..64a0c7f966 100644 --- a/examples/Demo/Builds/iOS/Info.plist +++ b/examples/Demo/Builds/iOS/Info.plist @@ -5,6 +5,8 @@ LSRequiresIPhoneOS + UIViewControllerBasedStatusBarAppearance + CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIconFile diff --git a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h index b4c7e72c18..a86d2afc93 100644 --- a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h +++ b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h @@ -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);