iOS 应用向右移动,无法查看完整内容 table

iOS app shifted right and can't view full table

我在为 iOS 应用设置布局时遇到问题。整个应用程序由于某种原因向右移动,正如您在滚动视图中间的标签和按钮所看到的那样。

我似乎也无法显示整个 table。在下面的屏幕截图中,"another Item" 应该有一个复选标记,只有当我将 Main.storyboard 中的 table 移到左侧很远时,它才可见,单元格项目的实际标签是一半可见。

我在视图控制器中有一个滚动视图,然后是一个标签和三个按钮以及一个带有 table 视图单元格的 table 视图。

感谢卢卡斯的回答

Are you using Auto Layout with that storyboard? Looks like you might not have set your constraints up properly. You might also want to take a look at Xcode's new View Debugging functionality.