I want to call the method asynchronously. This is the method that receives HTML from the server and sets it to UIWebView :
NSString *htmlTest = [BackendProxy getContent]; [webView loadHTMLString:htmlTest baseURL: nil]; [webView setUserInteractionEnabled:YES];
I want to start the activity indicator in UIWebView during data retrieval, so I need to call getContent asynchronously. How can i achieve this?
source share