gpt4 book ai didi

iphone - TTThumbsViewController + navigationController 问题

转载 作者:行者123 更新时间:2023-12-03 18:42:35 25 4
gpt4 key购买 nike

我只在我的应用程序中使用 Three20 作为图库。

当我从另一个 View 推送我的 .. : TTThumbsViewController 时,导航栏不是我想要的颜色(根据我的应用程序的其余部分)。我已经按照 this stackoverflow QA 设置了 TTDefaultStyleSheet 。因为我只使用 TTThumbsViewController,所以我需要做一些特别的事情吗?

拇指 View 也在顶部创建了额外的空间,就好像它为导航 Controller 留出了空间,而不知道导航 Controller 已经在那里。如何告诉 TTThumbsViewController 使用现有的 uinavigationcontroller?或者表现得好像确实如此?

MYThumbsViewController *mYThumbsViewController = [MYThumbsViewController alloc];
[self.navigationController pushViewController:mYThumbsViewController animated:YES];

以图形方式描述的问题:

alt text http://www.imgplace.com/img594/1309/39testapp.png

谢谢!

最佳答案

如果您不想使用透明导航栏,可以通过实现以下方法来纠正此问题:

- (void) updateTableLayout {

self.tableView.contentInset = UIEdgeInsetsMake(5, 0, 0, 0);
self.tableView.scrollIndicatorInsets = UIEdgeInsetsMake(TTBarsHeight(), 0, 0, 0);}

关于iphone - TTThumbsViewController + navigationController 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2614079/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com