Browse Source

Projucer: Fixed a few places in the Xcode exporter where the default value may not be recalled correctly

tags/2021-05-28
ed 8 years ago
parent
commit
b0344308f5
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h

+ 6
- 3
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h View File

@@ -129,6 +129,9 @@ public:
bool isPushNotificationsEnabled() const { return iosPushNotificationsValue.get(); }
bool isAppGroupsEnabled() const { return iosAppGroupsValue.get(); }
bool isiCloudPermissionsEnabled() const { return iCloudPermissionsValue.get(); }
bool isFileSharingEnabled() const { return uiFileSharingEnabledValue.get(); }
bool isDocumentBrowserEnabled() const { return uiSupportsDocumentBrowserValue.get(); }
bool isStatusBarHidden() const { return uiStatusBarHiddenValue.get(); }
String getIosDevelopmentTeamIDString() const { return iosDevelopmentTeamIDValue.get(); }
String getAppGroupIdString() const { return iosAppGroupsIDValue.get(); }
@@ -1341,13 +1344,13 @@ public:
}
}
if (owner.settings [Ids::UIFileSharingEnabled] && type != AudioUnitv3PlugIn)
if (owner.isFileSharingEnabled() && type != AudioUnitv3PlugIn)
addPlistDictionaryKeyBool (dict, "UIFileSharingEnabled", true);
if (owner.settings [Ids::UISupportsDocumentBrowser])
if (owner.isDocumentBrowserEnabled())
addPlistDictionaryKeyBool (dict, "UISupportsDocumentBrowser", true);
if (owner.settings [Ids::UIStatusBarHidden] && type != AudioUnitv3PlugIn)
if (owner.isStatusBarHidden() && type != AudioUnitv3PlugIn)
addPlistDictionaryKeyBool (dict, "UIStatusBarHidden", true);
if (owner.iOS)


Loading…
Cancel
Save