HI, I have the following setup in my iPad application:
UISplitViewController DetailSide-> SomeDetailViewController-> Added subview as [SomeDetailViewController.view addSubview:AnotherViewController.view]
Now after launching when the "AnotherViewController view" is displayed, its initial dimensions are always same of the last orientation(potrait/landscape view in interface builder) I saved that view XIB with, irrespective of the current device orientation.
Also On resetting the frame of the added subview(AnotherViewController.view) i.e A. In -[SomeDetailViewController viewDidLoad] check for the current device orientation B. Set the frame of the AnotherViewController.view to match the required size. It doesnt resize appropriately thereafter(I have the springs/struts setup correctly in XIB autoresizing box) on orientation changes.
After doing step 2. above, I do see that around half of the AnotherViewController.view from bottom doesnt respond to any touches, looks like due to change in frame the responding co-ordinates get messed up.
I do have the "shouldAutorotateToInterfaceOrientation" implemented to return YES for all the orientation in all my view controllers.
TIA.