1

iPhone 6で動作するようにアプリケーションを更新しましたが、XIBで自動レイアウトをオンにしても、ラベルのサイズが変更されません。

CGSize expected = [[textLabel text] sizeWithFont:textLabel.font constrainedToSize:max lineBreakMode:textLabel.lineBreakMode];

どうすればこれを解決できますか?

4

1 に答える 1