Uncaught exception ‘UIViewControllerHierarchyInconsistency’, reason: ‘child view controller: should have parent view controller: but actual parent is:’ OR Apple’s new UIViewController Hierarchy

Since iOS 5 Apple has added a fantastic new feature: a fully re-engineered UIViewController hierarchy concept. What it allows you to do is to pretty much patch together a screen from several UIViewControllers. I remember a guy at my former workplace who kept complaining: why do I always have to have one ‘big’ UIViewController to …

Continue reading