I have one query regarding the (UITextfield and Webservice) for example
When i start writing text in UITextfield. Make sure, the app does not query the server(Webservice) for each letter typed. It should wait till I make a pause and then send the request.
Is this possible to when using of UITextField?
Thanks in advance
You can do that using
performSelector:withObject:afterDelay:and cancelPreviousPerformRequestsWithTarget: methods. Here’s sample code –requestAction:gets called after user makes 2sec pause in editing text field.