Blocking in iOS and libUrlDownloadToFile

debdoot das dev at digifilm.com
Wed Sep 7 09:27:15 EDT 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.
> 
> 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
> 
> 
> _______________________________________________
> 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