摘要: http://stackoverflow.com/questions/6434911/ttbutton-not-shownThis 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 d 阅读全文
posted @ 2012-05-08 19:45 worldworld 阅读(266) 评论(0) 推荐(0) 编辑
摘要: TTButton* button =[TTButton buttonWithStyle:@"forwardActionButton:" title:@"Login"];[button setFrame:CGRectMake(245,160,65,33)];[self.view addSubview:button];不要忘记了@"forwardActionButton:" 里面的冒号 阅读全文
posted @ 2012-05-08 19:10 worldworld 阅读(237) 评论(0) 推荐(0) 编辑