how to make a universal iphone/ipad app programmatically, navigation controller for iphone and spli
- by arash13
I couldn't find a good answer anywhere.
I am using a UINavigationController for my iphone app and everything is done 100% programmatically no xibs.
So i am trying to port my app to ipad, i tried to use a UISplitViewController and link my existing tableView and etc..
Now, i am not sure where should i have the logic of my program separating the viewcontroller for iphone or ipad.. do i setup my main file to use a different appdelegate or i use a same appdelegae and have the condition set up there ?
now beside this, whenever i try to complile my app on the simulator it does not recognize the uisplitview and even the condition in which i check if the class exists.
can please someone put me in the right direction.. and remember i am not using xibs?