Iphone 水平滚动在three20项目的tabBar中不起作用?

Iphone 水平滚动在three20项目的tabBar中不起作用?,iphone,objective-c,cocoa-touch,three20,Iphone,Objective C,Cocoa Touch,Three20,我正在使用Joe Hewitt的three20开源项目 在UITableViewController中具有以下代码: _tabBar1 = [[TTTabStrip alloc] initWithFrame:CGRectMake(0, 0, 320, 41)]; _tabBar1.tabItems = [NSArray arrayWithObjects: [[[TTTabItem alloc] initWithTitle:@"item1"] autorelease

我正在使用Joe Hewitt的three20开源项目

在UITableViewController中具有以下代码:

_tabBar1 = [[TTTabStrip alloc] initWithFrame:CGRectMake(0, 0, 320, 41)];
_tabBar1.tabItems = [NSArray arrayWithObjects:
                [[[TTTabItem alloc] initWithTitle:@"item1"] autorelease],
                [[[TTTabItem alloc] initWithTitle:@"item2"] autorelease],
                [[[TTTabItem alloc] initWithTitle:@"item3"] autorelease],
                [[[TTTabItem alloc] initWithTitle:@"item4"] autorelease],
                [[[TTTabItem alloc] initWithTitle:@"item5"] autorelease],
                [[[TTTabItem alloc] initWithTitle:@"item6"] autorelease],                   nil];
self.tableView.tableHeaderView= _tabBar1;

除了TabBarStrip不会水平滚动之外,其他一切似乎都正常工作?知道发生这种情况的原因和可能的解决方案吗?

TTTabStrip
在Three20源代码中不再可用。您可能需要将代码迁移到新的
TTTabBar


您知道
TTTabStrip
视图是否要水平滚动吗?在一个标签条中有这么多的项目似乎是一个用户界面,对于iPhone这样的设备来说太复杂了

我做错了:


在项目设置中,在其他链接器标志下,我没有添加“all_load”,我只添加了“ObjC”。

您是根据3.0构建的吗?我发现很多UI元素在3.0下都会中断。特别是当它与滚动相关时。(MessageViewController也有问题)即使在2.2.1下,它也不会水平滚动