0
有一個UITabbarController
和兩個嵌套在UINavigationViewController
中。UINavigationViewController
有兩個工具欄,但工具欄不在底部,而是44px上部。爲什麼?嵌套容器視圖控制器之間的差距
工具欄加入編程:
UIBarButtonItem *update = [[UIBarButtonItem alloc] initWithImage:[PfbUtility imageFromConfigIfExist:@"reload"] style:UIBarButtonItemStylePlain target:self action:@selector(eah)];
self.toolbarItems = [NSArray arrayWithObjects: update, nil];
self.navigationController.toolbarHidden = NO;
你如何添加這些工具欄? – Sti
以編程方式 –
在Storyboard中,嘗試在** tabBar下面附加splitview **的底部,而不是頂部(如果您還沒有)? – Sti