开发者

Interface Builder won't allow me to select a nib name for tab bar

I just upgraded to xCode 4 and I am having so much trouble setting the nib name for a particular ta开发者_StackOverflow中文版b. If I choose nib name it drops down a list with nothing, if I just type in the nib name I want, when I run it, it does not show that view. And I have specified the class for that tab. I have a tab bar and a navigation controller set to one of the tabs.

Thanks


You can add an uinavigationcontroller to your uitabbarcontroller.

Now you can add an uiviewcontroller to the added uinavigationcontroller.

Now you can change the class of the last added uiviewcontroller, and set the nib-name for this item.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜