Wednesday, October 3, 2012

UINavigationController added as a subview not showing up in UIViewController

If your UINavigationController is not being shown as a subview, it might be named 'navigationController" which is the same as UIViewController's inherited object.  Rename your custom navigationController to a different name to ensure it does not conflict with the inherited object.

I was bit in the butt by this when I switched my inherited class from UINavigationController to UIViewController.


No comments:

Post a Comment