WMPageController icon indicating copy to clipboard operation
WMPageController copied to clipboard

大神我能提个简单的要求吗?

Open guojingjingghost opened this issue 7 years ago • 1 comments

你这个库menu的字体颜色一旦设置了后期想要修改就必须调用reload 方法,但是呢有些情况我们想要监控子控制器的状态然后改变颜色,我又不想失去子控制器的状态这样的话这个库就没法实现了,望改变字体颜色不需要reload 增加可扩展性

guojingjingghost avatar Dec 12 '18 00:12 guojingjingghost

  • (WMMenuItem *)menuView:(WMMenuView *)menu initialMenuItem:(WMMenuItem *)initialMenuItem atIndex:(NSInteger)index { if (index == 0) { initialMenuItem.selectedColor = kWhiteColor; initialMenuItem.normalColor = HexColor(0x999999); } else { initialMenuItem.selectedColor = RGB(45, 179, 138); initialMenuItem.normalColor = HexColor(0x999999); } return initialMenuItem; }

1277393484 avatar Jan 09 '19 01:01 1277393484