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

设置透明度:[YCXMenu setTintColor:]无效果 #16

Open
JsonFu opened this issue Feb 9, 2017 · 3 comments
Open

设置透明度:[YCXMenu setTintColor:]无效果 #16

JsonFu opened this issue Feb 9, 2017 · 3 comments

Comments

@JsonFu
Copy link

JsonFu commented Feb 9, 2017

设置透明度,使用:[YCXMenu setTintColor:[UIColor colorWithRed:0 green:0 blue:0 alpha:0.6]],设置没有任何效果。

@JsonFu
Copy link
Author

JsonFu commented Feb 9, 2017

在YCXMenu.m中
301行更改alpha值:透明色。

@FelixBubble
Copy link

在YCXMenu.m中301行更改alpha值,文字也跟着透明了啊!只想要背景透明。。。

@FelixBubble
Copy link

已自行解决:
在第647行和664行、681行、698行设置三角形箭头的alpha值,在713、714行设置菜单背景的alpha值。
详细方法:http://www.jianshu.com/p/6471f1646c35

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