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

如何修改item之间的横线颜色?如何在点击另一个按钮的时候直接弹出而不是消失上一个? #15

Open
JIAZoro opened this issue Feb 8, 2017 · 2 comments

Comments

@JIAZoro
Copy link

JIAZoro commented Feb 8, 2017

No description provided.

@JIAZoro
Copy link
Author

JIAZoro commented Feb 8, 2017

问题找到了,
// YCXMenuOverlay *overlay = [[YCXMenuOverlay alloc] initWithFrame:view.bounds];
这句是原来的,是把整个屏幕的大小覆盖上了,改成下面这样就可以了

    YCXMenuOverlay *overlay = [[YCXMenuOverlay alloc] initWithFrame:_contentView.bounds];
    overlay.frame = CGRectMake(self.frame.origin.x, self.frame.origin.y,  _contentView.frame.size.width, _contentView.frame.size.height);
    self.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);

这样overlay的大小和位置正好和弹出的视图在一致,点击正常,

@JIAZoro
Copy link
Author

JIAZoro commented Feb 8, 2017

但是怎么修改items之间横线的颜色

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