|
|
|
@@ -237,9 +237,14 @@ public: |
|
|
|
may return a URL to a remote document. If a local file is chosen then you can
|
|
|
|
convert this file to a JUCE File class via the URL::getLocalFile method.
|
|
|
|
|
|
|
|
Note: on iOS it is best to dispose any copies of returned URL as soon as
|
|
|
|
you finish dealing with the file. This is because URL might be security
|
|
|
|
scoped and a system allows only for a limited number of such URLs.
|
|
|
|
Note: on iOS you must use the returned URL object directly (you are also
|
|
|
|
allowed to copy- or move-construct another URL from the returned URL), rather
|
|
|
|
than just storing the path as a String and then creating a new URL from that
|
|
|
|
String. This is because the returned URL contains internally a security
|
|
|
|
bookmark that is required to access the files pointed by it. Then, once you stop
|
|
|
|
dealing with the file pointed by the URL, you should dispose that URL object,
|
|
|
|
so that the security bookmark can be released by the system (only a limited
|
|
|
|
number of such URLs is allowed).
|
|
|
|
|
|
|
|
@see getResult, URL::getLocalFile
|
|
|
|
*/
|
|
|
|
@@ -255,9 +260,14 @@ public: |
|
|
|
This array may be empty if no files were chosen, or can contain multiple entries
|
|
|
|
if multiple files were chosen.
|
|
|
|
|
|
|
|
Note: on iOS it is best to dispose any copies of returned URLs as soon as
|
|
|
|
you finish dealing with the file. This is because URLs might be security
|
|
|
|
scoped and a system allows only for a limited number of such URLs.
|
|
|
|
Note: on iOS you must use the returned URL object directly (you are also
|
|
|
|
allowed to copy- or move-construct another URL from the returned URL), rather
|
|
|
|
than just storing the path as a String and then creating a new URL from that
|
|
|
|
String. This is because the returned URL contains internally a security
|
|
|
|
bookmark that is required to access the files pointed by it. Then, once you stop
|
|
|
|
dealing with the file pointed by the URL, you should dispose that URL object,
|
|
|
|
so that the security bookmark can be released by the system (only a limited
|
|
|
|
number of such URLs is allowed).
|
|
|
|
|
|
|
|
@see getResults, URL::getLocalFile
|
|
|
|
*/
|
|
|
|
|