I've got a system of parent/child view controllers that looks like this
-- (Parent) RootViewController
-- (Child) ChildController
-- (Child) GrandChildController1
-- (Child) GrandChildController2
Basically, I've got a root view controller with a childViewController. That childViewController acts as a parentViewController for a couple other controllers. Now, I'd like to allow one of those GrandChildViewControllers to rotate. But this is the ONLY controller in the hierarchy who is allowed to rotate.
I'm adding child view controllers to the hierarchy like this:
[self addChildViewController:_childViewController];
[self.view addSubview:_childViewController.view];
Now, when the device rotates, my first childViewController is receiving rotation events, but none of the children of that controller (the grand child view controllers) are receiving rotation events. Anyone know why?
Thanks