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

不支持autolayout #68

Open
crazypoo opened this issue Feb 13, 2019 · 3 comments
Open

不支持autolayout #68

crazypoo opened this issue Feb 13, 2019 · 3 comments

Comments

@crazypoo
Copy link

不支持autolayout
如题
本人解决方法,gcdafter才能正确显示位置

@qy0827a
Copy link

qy0827a commented Mar 20, 2019

不支持autolayout
如题
本人解决方法,gcdafter才能正确显示位置

请问大佬,这个问题具体是怎么解决的。我在xib的自定义cell里面的label 宽度是相对宽度,出现的角标位置有问题,这个该怎么解决呢??

@crazypoo
Copy link
Author

我用的是gcdafter 0.1秒的方法,然后获取到加载view的大小然后才没事的

@RoganZheng
Copy link

我用的是gcdafter 0.1秒的方法,然后获取到加载view的大小然后才没事的

建议在autolayout布局方法后面,添加layoutifNeed方法,再去尝试获取frame

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

3 participants