devedbox / AXWebViewController

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.
MIT License
798 stars 134 forks source link

怎么删掉导航栏的关闭按钮 #61

Open mingmingsky opened 6 years ago

mingmingsky commented 6 years ago

你好,我想问下,怎么删掉导航栏的关闭按钮?

mingmingsky commented 6 years ago

在 AXWebViewController.m 中navigationCloseBarButtonItem 的getter方法中,返回一个空的UIBarButtonItem

devedbox commented 6 years ago

设置webVC.showsNavigationCloseBarButtonItem = NO;即可.