简体   繁体   English

故事板场景未正确放置

[英]Storyboard scene is not displating properly

I have 2 storyboards, one for iPhone and other one iPad. 我有2个故事板,一个用于iPhone,另一个用于iPad。 In my app I encounter a problem with a new scene that I've added. 在我的应用中,我遇到了一个我添加的新场景的问题。 New scene is Table View Controller and I am not coding anything, all the information that table needs is created in scene, no coding involved (it's suppose to be for informational purposes only), just to display information and you can't do anything with it. 新场景是Table View Controller,我没有编写任何代码,表所需的所有信息都是在场景中创建的,不涉及任何编码(假定仅出于提供信息的目的),仅用于显示信息,您不能执行任何操作它。 Now when I open a scene on iPhone it works fine, all information are there, but when I open it in iPad, Table View opens, but it doesn't display any information that I've created. 现在,当我在iPhone上打开一个场景时,所有信息都可以使用,但是当我在iPad上打开它时,Table View会打开,但不会显示我创建的任何信息。 Does anybody know why is this happening? 有人知道为什么会这样吗?

问题是我忘了在iP​​ad场景中将单元定义为静态,它们是动态的,因此应用正在寻找代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM