摘要: for (int i = 0; i < 4; i++) {//4是按钮的个数 NSString *backImage = backgroud[i]; NSString *heightImage = heightBackground[i]; ... 阅读全文
posted @ 2014-05-07 17:53 2014_4_30 阅读(198) 评论(0) 推荐(0) 编辑
摘要: //1.创建toolbar(MyToolbar继承UIToolbar) _myToolbar = [[MyToolbar alloc]initWithFrame:CGRectMake(kZero, kZero, kScreenW, kToolbarH)]; _myToolbar.ba... 阅读全文
posted @ 2014-05-07 11:48 2014_4_30 阅读(426) 评论(1) 推荐(0) 编辑
摘要: UITabBarItem *firstItem = [[UITabBarItem alloc]initWithTitle:@"测试" image:nil tag:11]; //设置字体颜色(后面设置字体状态)(UITextAttributeTextColor已过时) [firstItem ... 阅读全文
posted @ 2014-05-07 11:26 2014_4_30 阅读(1015) 评论(0) 推荐(0) 编辑