我正在使用JoeHewitt的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不会水平滚动之外,一切似乎都正常工作?知道为什么会发生这种情况吗?还有可能的解决办法吗?