gsdios / SDAutoLayout

One line of code to implement automatic layout. 一行代码搞定自动布局!支持Cell和Tableview高度自适应,Label和ScrollView内容自适应,致力于做最简单易用的AutoLayout库。The most easy way for autoLayout. Based on runtime.
MIT License
5.9k stars 1.28k forks source link

UITableViewCell上子控件自动宽度,出现bug #283

Open flyOfYW opened 6 years ago

flyOfYW commented 6 years ago
[self.contentView setupAutoWidthFlowItems:@[_nameLabel,_moneyLabel,_protateLabel] withPerRowItemsCount:3 verticalMargin:0 horizontalMargin:0 verticalEdgeInset:0 horizontalEdgeInset:6];self.是cell,如果这样布局,当点击cell的时候,就卡死了,CPU达到99%,UI界面卡死