wangmchn / WMPageController

An easy solution to page controllers like NetEase News
MIT License
2.92k stars 627 forks source link

自定义MenuItem在iOS10上面显示不出来 #599

Open cao903775389 opened 5 years ago

cao903775389 commented 5 years ago

继承了WMMenuItem,实现代理方法- (WMMenuItem )menuView:(WMMenuView )menu initialMenuItem:(WMMenuItem *)initialMenuItem atIndex:(NSInteger)index 在iOS10上面无法显示,iOS11 和iOS9都正常 image

image

cao903775389 commented 5 years ago

给customView.tag = initialMenuItem.tag去掉之后能显示出来了,不过我看了下点击的时候是按tag取的,所以就无效了