3
如果我使用全局樣式表([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