asynchronous method executing
- by alexeyndru
I have a delegate method with the following tasks:
get something from the internet (ex: some image from a web site);
process that image in a certain way;
display the result in a subview ;
getting the image takes some time, depending on the network's speed so the result of its processing is displayed in the subview after that little while.
my problem: during the time between getting the image and showing the result the device looks unresponsive. any attempt to put some spinner, or any other method which is called inside this main procedure has no effect until the result is processed. how should I change this behaviour? I would like to put a big spinner during that waiting time.
thank you.