iosstoryboardxcode8

What does the "automatically adjusts font requires using a dynamic type text style" warning mean?


I am getting the following warning:

"automatically adjusts font requires using a dynamic type text style"

Screenshot added

Which I can not get rid of the warning is on main.storyboard.

I have checked every UILabel in the Identity Inspector to make sure the "Automatically Adjusts Font" is unchecked.


Solution

  • It seems to have been a bug in Xcode. This is what I did to fix it:

    1. Change the font in the label that showed the error, to a dynamic type, as suggested
    2. Select check box for "Automatically Adjusts Font"
    3. Build and run the project (the error disappears)
    4. Uncheck the "Automatically Adjusts Font" box
    5. Change the font back to the previous setting that caused the error
    6. Rebuild the project

    The error is still gone.