iPhone X - Safe Area does not achieve full-screen experience?

后端 未结 4 504
北荒
北荒 2021-01-17 15:17

The new HIG for iPhone X available here, specify: \"Provide a full-screen experience. Make sure backgrounds extend to the edges of the display, and that vertically scrollabl

4条回答
  •  死守一世寂寞
    2021-01-17 15:39

    Actually I believe the answer is this: to accomplish full screen we should NOT use safe area support. After I unchecked Safe Area Relative Margins and Safe Area Layout Guide on the view in Interface Builder Size Inspector I got the expected result:

    In fact I would say that the idea of Safe Area is that of an area which will for sure not be overlapped by any of the system icons, or rounded borders, full screen is the opposite of it.

提交回复
热议问题