开发者

How to specify the view controller classes to be used by UITabBarController?

In interface builder I select the Tab Bar Controller item. The inspector shows me a list of associated view controllers. For any strange reason, I can not define anywhere the exact name for an view controller. I have an DetailsViewController and an SetupViewController. However, I can only select generic nam开发者_开发技巧es such as "Navigation View controller" and this kind of stuff. But I can't put these exact view controllers there.

I also created two View Controller items and associated these with the appropriate classes. Anyways, no way to hook these up with the tabs. What's the trick?


You can change the class of an object in Interface Builder by changing the class name in the Identity tab of the inspector.

alt text http://grab.by/1YQ6

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜