Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

设置黑色背景后如何调整分隔线颜色? (内有图) #4

Open
Fezreal opened this issue Dec 23, 2016 · 3 comments
Open

Comments

@Fezreal
Copy link

Fezreal commented Dec 23, 2016

image

想仿微信的下拉菜单,
dropdownMenu.menuItemBackgroundColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:1];
这样调到黑色后,文字看不到了,找不到设置文字颜色的方法。
self.dropdownMenu.tintColor = [UIColor colorWithRed:255 green:255 blue:255 alpha:1];
这样设置文字颜色,没效果。

还有白色的分割线要如何调色?

@Fezreal
Copy link
Author

Fezreal commented Dec 23, 2016

@chenfanfang

@chenfanfang
Copy link
Owner

@Fezreal 你好,你可以自定义菜单样式

若用xib,请看 http://www.jianshu.com/p/6a42a35ae2db

若用代码写,请看 http://www.jianshu.com/p/eead6fe4d59f

@chenfanfang
Copy link
Owner

@Fezreal 由于考虑不周,目前没有设置文字颜色的属性,在下个版本中添加进去,给你带来的不便,真是抱歉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants