IPhone X - safe zone does not provide full-screen mode?

The new HIG for iPhone X is available here , specify: "Ensure full-screen mode. Make sure that the backgrounds extend to the edges of the display, and vertically scroll layouts, such as tables and collections, continue to the end."

Now I would like to understand how to do this with Xcode 9 GM, since it seems to me that the only view allowed for distribution to the whole screen is the root view of the UIViewController and that whenever I try to drag the constraints for the top view, t .e. WKWebView in the root view, the restrictions are actually related to the safe area, leaving both the top and bottom areas blank, as shown in the storyboard here:

enter image description here

, , , , WKWebView :

enter image description here

+4
2

- , : . , " " " ", :

enter image description here

, - , , .

+2

SuperView

+7

Source: https://habr.com/ru/post/1685861/


All Articles