ios7选项卡栏覆盖了tableview

ios7选项卡栏覆盖了tableview,ios7,tableview,tabbar,Ios7,Tableview,Tabbar,我有一个新的ios7选项卡应用程序。应用程序委托看起来像这样 SomeViewController *someView = [[SomeViewController alloc] initWithNibName:@"SomeViewController" bundle:nil]; UINavigationController *someNav = [[UINavigationController alloc] initWithRootViewController:someView]; self

我有一个新的ios7选项卡应用程序。应用程序委托看起来像这样

SomeViewController *someView = [[SomeViewController alloc] initWithNibName:@"SomeViewController" bundle:nil];
UINavigationController *someNav = [[UINavigationController alloc] initWithRootViewController:someView];

self.tabBarController = [[UITabBarController alloc] init];
self.tabBarController.viewControllers = [NSArray arrayWithObjects:someNav, nil];

self.tabBarController.delegate = self;
self.window.rootViewController = self.tabBarController;

[self.window makeKeyAndVisible];
SomeViewController是一个嵌入全尺寸UITableView的简单视图。现在,当应用程序运行时,tableview将不会在选项卡栏上方滚动

我试过很多建议,比如

self.edgesForExtendedLayout = UIRectEdgeNone;
self.tabBarController.tabBar.translucent = NO;
但似乎什么都不管用。在IB中,我打开辅助线并将表格视图的高度设置为高于选项卡栏,但这也不起作用

我确信这很简单

TIA有:

self.tabBarController.edgesForExtendedLayout = UIRectEdgeNone

帮助?

遗憾的是,我们从未找到解决办法。改为使用故事板。