WebPolicyDelegate::decidePolicyForNavigationAction How to get GET and POST data from a link clicked or form submitted?
I implemented a WebPolicyDelegate
and the ...decidePolicyForNavigat开发者_如何学运维ionAction:...
method.
How about:
NSString *queryString = [[request URL] query];
NSData *postData = [request HTTPBody];
GET data is just the query string of the URI.
精彩评论