框架为"集合视图"将在运行时Swift3 iOS10 StoryBoard有所不同

时间:2017-06-01 09:17:04

标签: ios swift xcode swift3

当我使用" Collection View"在我的项目中,我遇到了一个问题:

现在它已经消失,它曾经是橙色矩形:

Now it is gone it used to be at the orange rect

框架为"集合视图"在运行时会有所不同。我不知道自己做错了什么。我搜索了整个互联网,一无所获。

所以,这是一个“解决方案”,就像屏幕截图所示,你只需检查标题然后解决它,问题就会消失,但是,我仍然不知道是什么原因引起的发生了这件事。

检查uiview内容的标题并将其解压缩:

Check the header of uiview content and decheck it

1 个答案:

答案 0 :(得分:0)

它的Interface Builder错误。

类似于IB problems

我在Xcode 8.2.1中享受这个错误

它是okey,我做Xcode 7年,Interface Builder在每个版本中都有很多bug。我认为它是Apple的风格。顺便说一句,Xcode也有很多错误。

请忽略。

相关问题