tab bar controller and placing objects
I'm using a Tab Bar Controller in Interface Builder with 3 navigation controllers. IB is not allowing me to put more than one object in a view controller. For instance, I can't place both an image and a 开发者_如何学运维rect button or two images etc...
anyone know if i'm making a mistake here?
i hope i explained it clearly enough. i've attached a screen shot
thanks in advance.
Typically, I would have another xib file that defines the SessionViewcontroller's view. And that would be where I would design the SessionViewController, laying out the elements of the view in that xib. And then in your Tab Bar Controller's Session View Controller, look at inspector and reference the class as that SessionViewController.
I would not design the whole application's set of views from the MainWindows.xib file. I am not sure you can do that.
精彩评论