Blocking in iOS and libUrlDownloadToFile
gerry.orkin at gmail.com
Wed Sep 7 01:10:33 CDT 2011
You have to prevent the user from interrupting the download - I do that by showing a transparent rect over the whole screen so they can't interact with the app until the download is done. I think by "blocking" they mean you can't request another download until this one is complete.
On 07/09/2011, at 8:19 AM, debdoot das wrote:
> In relation to blocking.
> This what the release notes say:
> libUrlDownloadToFile url, filename
> Unlike the libUrl command of the same name, this command will block until the download is complete, and will notify progress through the urlProgress message as described above.
> However I was able to click away in the middle of a download in the simulator resulting in a partially downloaded files. Can anyone please confirm whether this is the way it should be.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode