使用样式表时,TTThumbsViewController不显示缩略图。
问题描述:
如果我使用全局样式表([TTStyleSheet setGlobalStyleSheet:[[[StyleSheet alloc] init] autorelease]];
)比我在TTThumbsViewController
中看不到任何缩略图。使用样式表时,TTThumbsViewController不显示缩略图。
我的TTThumbsViewController
指定这些样式:
- (UIColor *)navigationBarTintColor;
- (UIColor *)backgroundColor;
- (UIColor *)tablePlainBackgroundColor;
- (UIColor *)tableHeaderTintColor;
- (UIColor *)thumbnailBackgroundColor;
如果我设置thumbnailBackgroundColor
到grayColor
我看到控制器灰色矩形,但没有下载的图像。
如果我评论使用全局样式表,我会正确地看到缩略图。
我尝试使用样式表在TTControl
演示应用程序和TTThumbsViewController
行为与我的应用程序相同。
这里是TTControl
演示应用程序截图:
我希望我没有做错事。任何人都可以知道为什么会发生这种情况吗? 谢谢。再见。
我刚编辑我TTCatalog示例应用程序使用我的TTDefaultStyleSheet类和我没有任何问题。见http://cl.ly/75vm 你在哪里设置你的风格(在哪个文件中)? 也许你只需要升级到最新版本的Three20。 – audience 2011-05-26 09:03:38