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

Frame的位置不对 #5

Closed
xieguangming opened this issue Jan 4, 2018 · 3 comments
Closed

Frame的位置不对 #5

xieguangming opened this issue Jan 4, 2018 · 3 comments

Comments

@xieguangming
Copy link

使用你的GMenuItem, 在聊天界面的tableviewcell 上面复制,粘贴, 发现位置不对, 使用系统的UIMenuItem没有问题, 不知道是什么原因。。

[[GMenuController sharedMenuController] setTargetRect:sender.frame inView:self.view]; 这个方法,我传的frame值是没有问题的, 但是在显示的时候位置不对。

@xieguangming
Copy link
Author

可以帮忙看一下吗?

@GIKICoder
Copy link
Owner

可以截图发上来看一下吗.

@xieguangming
Copy link
Author

搞定了, inView参数传的不对,应该传sender控件的superview. 这个问题已经解决。 谢谢楼主!

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