Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/yaakaito/UIWebView-UserAgent
- Owner: yaakaito
- Archived: true
- Created: 2012-04-05T04:53:29.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-04-05T05:00:28.000Z (over 12 years ago)
- Last Synced: 2023-03-11T15:53:22.725Z (almost 2 years ago)
- Language: Objective-C
- Homepage:
- Size: 83 KB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.mkd
Awesome Lists containing this project
- awesome - UIWebView-UserAgent - fetching UIWebViews UserAgent (etc)
- awesome - UIWebView-UserAgent - fetching UIWebViews UserAgent (etc)
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;
}
```