【发布时间】:2017-02-03 02:45:41
【问题描述】:
我有一个类似的问题: UITableViewController inside a UIViewController
我遵循完全相同的步骤。
我有一个 UIViewController 和我的自定义类:MyCustomClassViewController 和 UITableViewController 命名为 MyCustomUITableViewController。
在我的 ViewController 中,我添加了一个 Container View 并拖放到我的 UITableView 并选择了 embed。
好的,现在,当我执行项目时,我得到了这个错误:
*** 由于未捕获的异常“NSInternalInconsistencyException”而终止应用程序,原因:“containerView is 需要。'
【问题讨论】:
标签: ios xcode uitableview uiviewcontroller swift3