I have a problem in adapting my iPhone App to Universal.
In my iPhone App, I have a tabBarController, with 5 tabs, each one with a tableView.
I need now to adapt it to iPad, so I’m implementing the following:
. A UISpliViewController, in which the rootViewController (left pane) is a tableView, to display in detailViewController (on the right side), each controller, corresponding to the tarBarController on the iPhone.
So, my problem is where do I assign the controllers to the splitView? In AppDelegate?
If I assign them in viewDidLoad on rootViewController, it don’t work.
Anyone can help me? I’m stuck.
Thanks,
iChat: rui.lopes@me.com
In the AppDelegate’s:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptionsmethod.
EDIT: Also see this SO post. Had bookmarked this when I started out.
UISplitViewController programmtically without nib/xib