How would I change the user agent of a webview in Xcode?
I am trying to change the user agent to the ios safari.
I have tried this and putting into the viewdidload method:
I am trying to change the user agent to the ios safari.
I have tried this and putting into the viewdidload method:
Code:
[webView setCustomUserAgent:[NSString stringWithFormat:@"Mobile/8A293 Safari/6531.22.7"]];