objective c - Getting response for the request triggered from UIWebView iOS? -


i have uiwebview added subview view controller's view. when user enter username , password, login service called web service.

the response received in uiwebview

1. possible response uiwebview application?

2. how can response accessed application?

in delegate method:, can html content of webview using below code.

- (void)webviewdidfinishload:(uiwebview *)webview {  nsstring *html = [webview stringbyevaluatingjavascriptfromstring:                                           @"document.body.innerhtml"];  } 

if using nsurlconnection response can captured in following delegate method:

- (void)connection:(nsurlconnection *)connection didreceiveresponse:(nsurlresponse *)response  

Comments

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -