将 space 引导到安全区域,而不是在 Xcode 9 中说上边距?

Leading space to safe area , instead of saying top margin in Xcode 9?

我在 Xcode 9 中获得了这个新功能。我附上了相同的快照。安全区是什么意思,在Xcode 9.

安全区

苹果说的是the portion of your view that is unobscured by bars and other content。资料来源:Apple - safeAreaLayoutGuide

我的解释:

It is the guide for iPhone X for you to avoid the top notch and the bottom part for the swipe gesture that replaced the home button

为清楚起见,这是一张视觉图像: