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

显示位置如何更改 #13

Open
kazeik opened this issue Dec 10, 2016 · 0 comments
Open

显示位置如何更改 #13

kazeik opened this issue Dec 10, 2016 · 0 comments

Comments

@kazeik
Copy link

kazeik commented Dec 10, 2016

我是一个IOS新手,在尝试做一个练手项目时,用到了你的代码 。
我把相关的代码拷进工程中后,按你所述的方式添加菜单 。一切都可以。但有一个问题。就是显示的位置不对。
我原想是像微信公众号一样。弹出来的子菜单在当前UIButtom的顶上出现。但目前它在信号栏的下面弹出来了。方向相反了。
我大致说下我的思路。
我用一个UIWebView定位在0,20,屏幕宽,屏幕高-50.的位置上。然后在UIWebView 下面添加一个UIView.在UIView里添加了三个UIButton。然后在UIButton的点击事件中,弹出菜单。这时候。位置就不对了。
相应的工程在我的github中的Benefit这个项目中。

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

1 participant