RenKelvin/Wordsss — Issue #4: 单词详情页面，第一个saction的tableView显示问题
Author: RenKelvin
Created: 2011-10-08 08:36:18+00:00
State: open

WordViewController.m

- (id)initSectionViewControllers
{
WordBooksViewController* wordBooksViewController = [self.storyboard instantiateViewControllerWithIdentifier:@"WordBooksViewController"];
[[wordBooksViewController view] setFrame:CGRectMake(0, 47, 320, 480)]; // 第四个参数480有问题，本应为320，未知问题

WordRelationsViewController* wordRelationsViewController = [self.storyboard instantiateViewControllerWithIdentifier:@"WordRelationsViewController"];
[[wordRelationsViewController view] setFrame:CGRectMake(0, 47, 320, 320)];

WordMemsViewController* wordMemsViewController = [self.storyboard instantiateViewControllerWithIdentifier:@"WordMemsViewController"];
[[wordMemsViewController view] setFrame:CGRectMake(0, 47, 320, 320)];

WordStatisticsViewController* wordStatisticsViewController = [self.storyboard instantiateViewControllerWithIdentifier:@"WordStatisticsViewController"];
[[wordStatisticsViewController view] setFrame:CGRectMake(0, 47, 320, 320)];

NSMutableArray* tempViewControllersArray = [NSMutableArray arrayWithCapacity:4];
[tempViewControllersArray addObject:wordBooksViewController];
[tempViewControllersArray addObject:wordRelationsViewController];
[tempViewControllersArray addObject:wordMemsViewController];
[tempViewControllersArray addObject:wordStatisticsViewController];

[self setSectionViewControllers:tempViewControllersArray];

return self;
}

第四个参数480有问题，本应为320，未知问题