chenliangloveyou / EasyNavigation

一款超级简单的导航条管理工具。完全自定义导航条。没有UINavigationBar 和 UINavigationItem 这两个类。完全是对UIView的操作。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

崩溃

ZZKll opened this issue · comments

[EasyNavigationView addLeftView:callback:]: unrecognized selector sent to instance 0x7fac1842eaf0

tabbar 其中的一个ViewController 用这个库包含 例如
HomeViewController *homeView = [HomeViewController new];
EasyNavigationController *homeNav = [[EasyNavigationController alloc]initWithRootViewController:homeView];
self.viewControllers = @[newsNav,liveNav,homeNav,governmentNav,peopleLiveNav];

在ViewController里 调用方法崩溃

[EasyNavigationView addLeftView:callback:]: unrecognized selector sent to instance 0x7fac1842eaf0

改成
[self.navigationView addSubview:xxxclickCallback:nil];

已改 谢谢
关于 LineView 的设置好像没有效果 例如
[self.navigationView setLineViewHidden:YES]

还是能看到一个小白条 .

self.navigationView.lineView.hidden = yes ;

ok .谢啦 大佬