Browse Source

iOS: add an option to Projucer to allow a user to access application documents in a native file chooser.

tags/2021-05-28
Lukasz Kozakiewicz 7 years ago
parent
commit
3a3d889fd2
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h

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

@@ -223,6 +223,9 @@ public:
props.add (new BooleanPropertyComponent (getSetting ("UIFileSharingEnabled"), "File Sharing Enabled", "Enabled"),
"Enable this to expose your app's files to iTunes.");
props.add (new BooleanPropertyComponent (getSetting ("UISupportsDocumentBrowser"), "Support Document Browser", "Enabled"),
"Enable this to allow the user to access your app documents from a native file chooser.");
props.add (new BooleanPropertyComponent (getSetting ("UIStatusBarHidden"), "Status Bar Hidden", "Enabled"),
"Enable this to disable the status bar in your app.");
@@ -1312,6 +1315,9 @@ public:
if (owner.settings ["UIFileSharingEnabled"] && type != AudioUnitv3PlugIn)
addPlistDictionaryKeyBool (dict, "UIFileSharingEnabled", true);
if (owner.settings ["UISupportsDocumentBrowser"])
addPlistDictionaryKeyBool (dict, "UISupportsDocumentBrowser", true);
if (owner.settings ["UIStatusBarHidden"] && type != AudioUnitv3PlugIn)
addPlistDictionaryKeyBool (dict, "UIStatusBarHidden", true);


Loading…
Cancel
Save