mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Always add custom launch screen storyboard files to iOS projects even when a custom xcassets folder is specified
This commit is contained in:
parent
2fd7c587ad
commit
33901385de
1 changed files with 3 additions and 2 deletions
|
|
@ -137,6 +137,7 @@ public:
|
|||
String getCustomResourceFoldersString() const { return customXcodeResourceFoldersValue.get().toString().replaceCharacters ("\r\n", "::"); }
|
||||
String getCustomXcassetsFolderString() const { return customXcassetsFolderValue.get(); }
|
||||
String getCustomLaunchStoryboardString() const { return customLaunchStoryboardValue.get(); }
|
||||
bool shouldAddStoryboardToProject() const { return getCustomLaunchStoryboardString().isNotEmpty() || getCustomXcassetsFolderString().isEmpty(); }
|
||||
|
||||
bool isHardenedRuntimeEnabled() const { return hardenedRuntimeValue.get(); }
|
||||
Array<var> getHardenedRuntimeOptions() const { return *hardenedRuntimeOptionsValue.get().getArray(); }
|
||||
|
|
@ -1438,7 +1439,7 @@ public:
|
|||
if (type != AudioUnitv3PlugIn)
|
||||
addPlistDictionaryKeyBool (dict, "UIViewControllerBasedStatusBarAppearance", false);
|
||||
|
||||
if (owner.getCustomXcassetsFolderString().isEmpty())
|
||||
if (owner.shouldAddStoryboardToProject())
|
||||
{
|
||||
auto customStoryboard = owner.getCustomLaunchStoryboardString();
|
||||
|
||||
|
|
@ -1912,7 +1913,7 @@ private:
|
|||
{
|
||||
addXcassets();
|
||||
|
||||
if (getCustomXcassetsFolderString().isEmpty())
|
||||
if (shouldAddStoryboardToProject())
|
||||
{
|
||||
auto customLaunchStoryboard = getCustomLaunchStoryboardString();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue