AXWebViewController is a webViewController to browse web content inside applications. It’s a lightweight controller on iOS platform based on WKWebView (UIWebView would be the base Kit under iOS 8.0). It added navigation tool bar to refresh, go back, go forward and so on. It support the navigation style on WeChat. It is a simple-using and convenient web view controller using inside applications.
代码如下: AXWebViewController webVC = [[AXWebViewController alloc] initWithAddress:@"http://www.baidu.com"]; webVC.showsToolBar = NO; webVC.webView.allowsLinkPreview = YES; UINavigationController nav = [[UINavigationController alloc]initWithRootViewController:webVC]; self.window = [[UIWindow alloc] init]; self.window.backgroundColor = [UIColor whiteColor]; self.window.frame = [UIScreen mainScreen].bounds; self.window.rootViewController = nav; 这样的话 里面的关闭 是不起作用的,望指教!!谢谢