Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

yaakaito/UIWebView-UserAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fetching UIWebViews UserAgent

feature

- (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;
}

About

fetching UIWebViews UserAgent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages