ios navigation declare

self.navigation = (CustomNavigationController*) self.navigationController;

查看navigation是否为空
po self.navigation

ps:一般在ios webview中没有特殊报错,但是又无法实现功能时
经常是navigation为空,在(void)viewDidLoad中声明一下就好了