I have an app with with a UITabController and each tab is a UINavigationController. The root of one of my UINavigationControllers is a
You can do your layout logic inside the viewWillLayoutSubviews of the UIViewController.
-(void)viewWillLayoutSubviews{
[super viewWillLayoutSubviews];
// Your layout logic here
}
DOC: Called just before the view controller's view's layoutSubviews method is invoked. Subclasses can implement as necessary. The default is a nop.