自iOS 11起不推荐使用《顶部布局指南》-无法找到视图 [英] Top Layout Guide deprecated since iOS 11 - unable to find view

查看:87
本文介绍了自iOS 11起不推荐使用《顶部布局指南》-无法找到视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到以下错误:

但是我无法找到发生警告的视图.不适时,请删除情节提要中的所有视图,然后执行清理"-警告仍然存在.

But i am unable to find the view which occurs that warnings. When ill delete all views in the Storyboard, and perform a "Clean" - the warnings are still present.

任何想法如何找到该视图?

Any ideas how to find that view?

推荐答案

有什么想法可以找到那个视图吗?

Any ideas how to find that view?

这不是视图";这是情节提要本身.编辑情节提要,然后选中使用安全区域布局指南":

It's not a "view"; it's the storyboard itself. Edit the storyboard and check Use Safe Area Layout Guides:

另外,您可能需要退出Xcode并清理DerivedData文件夹,以获取完全干净的构建.

Also you might need to quit Xcode and clean out the DerivedData folder so as to get a completely clean build.

这篇关于自iOS 11起不推荐使用《顶部布局指南》-无法找到视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆