Blocking in iOS and libUrlDownloadToFile
Gerry Orkin
gerry.orkin at gmail.com
Wed Sep 7 02:10:33 EDT 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.
Gerry
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.
>
> Regards,
> Debdoot
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list