Chapter 8 Supporting different screen sizes

My question is about Chapter 8:《Supporting different screen sizes》:

Book says:

Click the drop down for First Item and change it from Safe Area to Superview. Also, if the Constant field has a non-zero value, change it to 0.
Do the same for the other three constraints. Note that for two of the constraints, Safe Area will be the Second Item and not the First Item. So change either one based on which one specifies Safe Area.

When i operations iPhone 11 and change this constant to “Superview”,but the screen are not full screen,why:

Thanks.

And this is my constants:

未命名.001

@herbay Does this happen with the sample project too?

I solved the same problem additionally in the Attributes inspector in the View section: set the Content Mode to “Aspect Fill”

This topic was automatically closed after 166 days. New replies are no longer allowed.