mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-31 03:00:05 +00:00
iOS: add an option to Projucer to allow a user to access application documents in a native file chooser.
This commit is contained in:
parent
f4cc815f3d
commit
3a3d889fd2
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue