Automatic Preferred Max Layout Width is not available on iOS versions prior to 8.0

前端 未结 10 1756
太阳男子
太阳男子 2020-11-28 00:21

I opened an existing iOS project with Xcode6 beta6, and Xcode lists the following warning for both Storyboard and Xib files:

Automatic Preferred Max L

10条回答
  •  时光说笑
    2020-11-28 00:54

    To summarize, for me following the two instructions above to change any instances where numberOfLines = 0 to 1 or greater, and manually adding preferredMaxLayoutWidth="0" to each instance of a label inside the storyboard source fixed all of my warnings.

提交回复
热议问题