In my main UIViewController I am adding a homescreen view controller as subviews:
UINavigationController *controller = [[UINavigationController alloc] ini
Had a same problem
My container view controller did retain
a child view controller via a property
, but did not add a child view controller to its childViewControllers
array
.
My solution was to add this line of code in the container view controller
[self addChildViewController: childViewController];
After that UIKit
started forwarding appearance methods to my child view controller just as expected
I also changed the property attribute from strong
to weak
just for beauty