I've got a web service call performing some validation on user input in real time. I'd like to use [NSURLConnection sendAsynchronousRequest]
on the validation (which was introduced in iOS 5), but cancel it if the user changes the input field content in the mean time. What is the best way to cancel a current request?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…