ios navigation declare Posted on 2017-04-06 18:45 self.navigation = (CustomNavigationController*) self.navigationController; 查看navigation是否为空po self.navigation ps:一般在ios webview中没有特殊报错,但是又无法实现功能时 经常是navigation为空,在(void)viewDidLoad中声明一下就好了