Autolayout UILabel多线奇怪的顶部填充

时间:2014-05-29 13:12:15

标签: ios objective-c cocoa-touch uilabel autolayout

Autolayout情况

红色视图 - 持有人视图,以水平为中心并具有最大值

标签1的左,上,右距离设置为0

标签2只有左,右距离设置为0,顶部标签1到4px

一切正常,当标签1是单行时,只要有另一条线发生奇怪的顶部填充

enter image description here

0 个答案:

没有答案
相关问题