开发者

tab bar controller and placing objects

开发者 https://www.devze.com 2023-01-19 19:03 出处:网络
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 a

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.

tab bar controller and placing objects


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号