Sub-viewController doesn't get autorotation notifications, bug?
- by Shizam
If I have a view (and its controller) and I override the willAnimateRotationToInterfaceOrientation method so I can respond to autorotation events everything works fine and dandy. Now if I create another viewController and add its view to the first viewController's view via:
[firstViewController.view addSubview:secondViewController.view]
The secondViewController's willAnimateRotationToInterfaceOrientation method isn't called.
What gives?
Thanks,
Sam