开发者

TTThumbsViewController not show thumbnails when using stylesheet.

开发者 https://www.devze.com 2023-01-29 04:36 出处:网络
If I use global stylesheet ( [TTStyleSheet setGlobalStyleSheet:[[[StyleSheet alloc] init] autorel开发者_JS百科ease]]; ) than I don\'t see any thumbnails in TTThumbsViewController.

If I use global stylesheet ( [TTStyleSheet setGlobalStyleSheet:[[[StyleSheet alloc] init] autorel开发者_JS百科ease]]; ) than I don't see any thumbnails in TTThumbsViewController.

I specify these styles for TTThumbsViewController:

- (UIColor *)navigationBarTintColor;
- (UIColor *)backgroundColor;
- (UIColor *)tablePlainBackgroundColor;
- (UIColor *)tableHeaderTintColor;
- (UIColor *)thumbnailBackgroundColor;

If I set thumbnailBackgroundColor to grayColor I see gray rectangles in the controller but no downloaded images.

If I comment use of global stylesheet I see thumbnails correctly.

I tried use stylesheet in TTControl demo app and TTThumbsViewController behave same as in my app.

Here is screenshot from TTControl demo app:

TTThumbsViewController not show thumbnails when using stylesheet.

I hope I am not doing something wrong. Can anybody have some idea why this is happening ? Thanks. Bye.


Please see the following Tutorial to help you with implementing TTStyleSheet properly:

Three20 Stylesheets iPhone Tutorial

0

精彩评论

暂无评论...
验证码 换一张
取 消