Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yaakaito/UIWebView-UserAgent

fetching UIWebViews UserAgent
https://github.com/yaakaito/UIWebView-UserAgent

Last synced: about 1 month ago
JSON representation

fetching UIWebViews UserAgent

Awesome Lists containing this project

README

        

fetching UIWebViews UserAgent

## feature
```objective-C
- (void)viewDidLoad {
self.webView = [UIWebView webViewWithUserAgent:@"Sakura"];
self.webView.delegate = self;
[self.webView loadRequest:request];
}

- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType{
[UIWebView resetUserAgent];
return YES;
}
```