如果我使用全局样式表 ( [TTStyleSheet setGlobalStyleSheet:[[[StyleSheet alloc] init] autorelease]];
),则在TTThumbsViewController
.
我指定这些样式TTThumbsViewController
:
- (UIColor *)navigationBarTintColor;
- (UIColor *)backgroundColor;
- (UIColor *)tablePlainBackgroundColor;
- (UIColor *)tableHeaderTintColor;
- (UIColor *)thumbnailBackgroundColor;
如果我设置thumbnailBackgroundColor
为,grayColor
我会在控制器中看到灰色矩形,但没有下载图像。
如果我评论全局样式表的使用,我会正确看到缩略图。
TTControl
我尝试在演示应用程序中使用样式表,其TTThumbsViewController
行为与我的应用程序相同。
这是TTControl
演示应用程序的屏幕截图:
我希望我没有做错什么。任何人都可以知道为什么会这样吗?谢谢。再见。