viewDidAppear
is called by iOS system on its own just before view is going to be appeared.
If you want to perform some functions after didReceiveResponse
method, there is a method in NSURLConnectionDelegate
that can help you.
- (void)connectionDidFinishLoading:(NSURLConnection *)connection
This method is used when a connection has finished loading successfully and you can write the functions you want to perform after didRecieveRespose
here in this method.
You can read more about NSURLConnectionDelegateProtocol
methods here.