aster0id / ycxmenudemo_objc Goto Github PK
View Code? Open in Web Editor NEW`TCXMenu` is an easy-to-use menu.
License: MIT License
`TCXMenu` is an easy-to-use menu.
License: MIT License
设置透明度,使用:[YCXMenu setTintColor:[UIColor colorWithRed:0 green:0 blue:0 alpha:0.6]],设置没有任何效果。
我是一个IOS新手,在尝试做一个练手项目时,用到了你的代码 。
我把相关的代码拷进工程中后,按你所述的方式添加菜单 。一切都可以。但有一个问题。就是显示的位置不对。
我原想是像微信公众号一样。弹出来的子菜单在当前UIButtom的顶上出现。但目前它在信号栏的下面弹出来了。方向相反了。
我大致说下我的思路。
我用一个UIWebView定位在0,20,屏幕宽,屏幕高-50.的位置上。然后在UIWebView 下面添加一个UIView.在UIView里添加了三个UIButton。然后在UIButton的点击事件中,弹出菜单。这时候。位置就不对了。
相应的工程在我的github中的Benefit这个项目中。
pod install should be
pod 'YCXMenu', '~> 0.0.1'
not XCYMenu
背景颜色没找到怎么修改,我想改为灰色,你这里的背景颜色不知道你咋改的,我没找到啊!
应该在选择item的时候增加点击后item背景颜色的接口 不然总是蓝色
希望能自己设置菜单中字体的颜色,现在默认是白色而且无法更改
请问修改遮罩层的颜色在哪里?
还有修改每个item的宽高?
可以在show方法里添加dismissBlock,提供给dismiss后调用
楼主,希望能设置一下有图片和标题时,整个控件的宽度,看上去有点略宽,辛苦啦,非常感谢
设置阴影效果无效
I set the background color effect to gradient but I can't see any change in the appearance. What does it do exactly?
I overrode touchesEnded
then the menu just does not respond to my touches anymore. Any idea how to fix it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.