Closed colin-liu closed 7 years ago
我尝试将按钮基于view中心线对齐,然后使用setupAutoWidthWithRightView:rightMargin:方法根据按钮的titleLabel自动布局,运行后不会崩溃,但是就卡在页面,什么都动不了。
setupAutoWidthWithRightView:rightMargin:
基于view右侧对齐的效果同样。 望给出解决方案!谢谢!
我验证了一下没有发现问题,你先参照demo1看下。如果还是有问题把你的代码发我邮箱gsdios@126.com看下
我尝试将按钮基于view中心线对齐,然后使用
setupAutoWidthWithRightView:rightMargin:
方法根据按钮的titleLabel自动布局,运行后不会崩溃,但是就卡在页面,什么都动不了。基于view右侧对齐的效果同样。 望给出解决方案!谢谢!