IOS 6 application error - UIViewControllerHierarchyInconsistency

My application worked fine until I upgraded to Xcode 4.5 and I ran it on iOS 6. Now it crashes with an exception - UIViewControllerHierarchyInconsistency - a view can only be associated with at most one view controller at a time.

Does anyone have any ideas why or how I can solve it?

+5
source share
1 answer

Well, I fixed this problem. Obviously, you need to remove the UIViewController in the XIB file and leave only the view.

+10
source

All Articles