NSMutableURLRequest * requset = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:self.webUrl]];
[requset addValue:self.webUrl forHTTPHeaderField:@"referer"];
[self.wkWebView loadRequest:requset];
NSMutableURLRequest * requset = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:self.webUrl]];
[requset addValue:self.webUrl forHTTPHeaderField:@"referer"];
[self.wkWebView loadRequest:requset];
本文标题:iOS webView设置referer
本文链接:https://www.haomeiwen.com/subject/cxfuxctx.html
网友评论