填充,label,

- (void)sizeToFit;                       // calls sizeThatFits: with current view bounds and changes bounds size.

原文地址:https://www.cnblogs.com/guligei/p/3423727.html