2 Replies
      Latest reply on Sep 16, 2016 8:21 AM by Gustavo@Cycloid
      Gustavo@Cycloid Level 1 Level 1 (0 points)

        Hi,

         

        Getting warning "Automatic Preferred Max Layout Width before iOS 8" when my labels has >1 number of lines.

        • Re: UILabel lines (>1) warning on IB
          bob133 Level 4 Level 4 (955 points)

          What this warning means is that apparently the "Automatic Preferred Max Layout Width" is only available on iOS 8 and newer and your app (or at least the storyboard) supports earlier versions of iOS.   If you try to open the app on an iOS 7 or earlier device, it won't work correctly.  There are two ways you could fix this:

          • Move your minimum supported version up to at least iOS 8
          • Use a different setting for that label (perhaps try to set the layout width yourself in Interface Builder?)