开发者

iPhone, Xcode (3.2.5) - Drill down TableView + TabBar

开发者 https://www.devze.com 2023-02-18 21:50 出处:网络
WARNING: Xcode and programming newbie alert! Has anyone here had an issue with combining drill-开发者_开发技巧down table functionality with tab bar views? Basically I set up a Tab Bar project in Xcod

WARNING: Xcode and programming newbie alert!

Has anyone here had an issue with combining drill-开发者_开发技巧down table functionality with tab bar views? Basically I set up a Tab Bar project in Xcode, and after following this tutorial (up to Figure 6) to get the first table view in, I followed this one to get a second-level table appearing when each top-level table view row is tapped. I have done each one separately and know they both work; however when combined I get the top-level table appearing, and I can touch it to make the rows go blue, but it doesn't go to the second-level table view.

I'm hoping there's a fix to this, or as an alternative, that someone would be willing to post a mini-tutorial about adding tab bars to existing navigation-based projects... in any case, let me know what code you need to see and I'll gladly post it.

Many thanks!


in the mainView.xib in IB add a tabBarController and set the connections as in this picture (never mind any russian word - they are just titles)

iPhone, Xcode (3.2.5) - Drill down TableView + TabBar

In this case FirstViewController is a normal view and
SecondViewController is a tableView.

If this dosen't help - post our connections and I'll tell you whats wrong.

0

精彩评论

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