Xcode 9中的safe Area Layout

刚升级了Xcode 9,本来想敲个代码飞一下,可是出现了传说中iOS 11的safe Area Layout的报错:

Xcode 9中的safe Area Layout

然后度娘了一下,发现暂时处理的办法也挺简单的就是在storeboard里勾掉响应选项:

Xcode 9中的safe Area Layout

然后就OK了。