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里面
原文地址:https://www.cnblogs.com/easonoutlook/p/2642832.html