问题
I know it's possible to do a few things on the background thread - VOIP, location and audio. How about uploading? Can I upload in a background thread? If so, how?
Thanks!
回答1:
Yes of course. That's a great use of a background thread. If it's Http you're using this library is very useful. It's http://allseeing-i.com/ASIHTTPRequest/
来源:https://stackoverflow.com/questions/7430828/uploading-in-background-thread-in-ios