We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@Jacquesless 看下你自定义view是否userInteractionEnabled=NO了,或者有其他忽略点击的设置
The text was updated successfully, but these errors were encountered:
没有,自定义的view的userInterfacetionEnabled肯定是设置成YES了,我打断点是你的代码里面忽略了子View上的点击事件,具体没看懂。你可以自己写一个view添加上去测试一下就知道了
Sorry, something went wrong.
不关是否自定义view的问题。应该是你CJLabel的frame是手动设置的导致?点击事件能够准确获取需要前提条件:1、CJLabel布局是autolayout;2、或者经过计算能够保证CJLabel的size跟其文本显示的size相等。 我一直都是用的autolayout,没发现这个bug,之后版本会改进。
那就对了,我的CJLabel的frame是手动设置的,没有使用autolayout。应该是这个原因导致的CJLabel的点击事件不能被响应,期待你的新版本。
@Jacquesless CLabel V4.0.0之后版本修复了手动设置frame点击不准的问题了,另外增加了选择复制功能,有兴趣可以看下
No branches or pull requests
@Jacquesless 看下你自定义view是否userInteractionEnabled=NO了,或者有其他忽略点击的设置
The text was updated successfully, but these errors were encountered: