TTButton的使用小结

http://stackoverflow.com/questions/6434911/ttbutton-not-shown

 

This code snippet looks fine. Where are you declaring the "forwardActionButton" style? It's not a three20 existing TTStyle as far as I know. Any custom styles should be in a style sheet class and should be loaded in the app delegate, as such:

[TTStyleSheet setGlobalStyleSheet:[[[StyleSheet alloc] init] autorelease]];

必须在delegate中进行相关操作

然后参考Three20  TTCatalog里面的方法进行初始化,在appdelegate里面
posted on 2012-05-08 19:45  easonoutlook  阅读(149)  评论(0编辑  收藏  举报