Blocking in iOS and libUrlDownloadToFile
dev at digifilm.com
Wed Sep 7 08:27:15 CDT 2011
Thanks Gerry. I avoid taking away control from the user but have to it seems.
On Sep 7, 2011, at 2:10 AM, Gerry Orkin wrote:
> 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:
> 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