LTWebView
LTWebView LTWebViewController 是一个类似于 Wechat 的 UIWebView/WKWebView 控制器
支持返回手势,仿真微信,参考来源:
https://github.com/devedbox/AXWebViewController
写得真好!这家伙。
NSURL * url = [NSURL URLWithString:@"http://baidu.com"];
LTWebViewController *detailVc = [[LTWebViewController alloc] initWithURL:url type:LTWebViewTypeUIWebView title:@"XXOO" userAgent:@"IOS"];
[self.navigationController pushViewController:detailVc animated:YES];
NSURL * url = [NSURL URLWithString:@"http://baidu.com"];
LTWebViewController *detailVc = [[LTWebViewController alloc] initWithURL:url type:LTWebViewTypeWKWebView title:@"XXOO" userAgent:@"IOS"];
[self.navigationController pushViewController:detailVc animated:YES];
或者直接使用:LTWebView,完全自定义。