【发布时间】:2012-09-25 14:11:42
【问题描述】:
当我收到以下错误时,我正在尝试更新我的应用程序以在 iPhone 5 上运行:
Terminating app due to uncaught exception 'UIViewControllerHierarchyInconsistency',
reason: 'A view can only be associated with at most one view controller at a time!
View <UITableView: 0x88fbe00; frame = (0 20; 320 548); clipsToBounds = YES; opaque = NO;
autoresize = W+H; gestureRecognizers = <NSArray: 0x8395940>; layer = <CALayer: 0x8395350>;
contentOffset: {0, 0}> is associated with <UIViewController: 0x83967d0>. Clear this
association before associating this view with <UIViewController: 0x8381220>.'
我正在运行 XCode 4.5 版,这在以前从未发生过。我尝试按照this question 中的步骤进行操作。这是我的 MainWindow.xib 的样子:
我做错了什么,我该如何解决?
【问题讨论】:
标签: iphone ios uinavigationcontroller