- 博客(3)
- 收藏
- 关注
原创 让Tab Bar的Item不被选中时不变灰色
为了让tabbar的按钮没有被选中时,仍然保持原来的颜色 //设置图片绘制模式,使图片不变灰 UITabBarItem *oneBarItem = [[UITabBarItem alloc]init]; oneBarItem.image = [[UIImage imageNamed:@"news"] imageWithRenderingMode:UIImageRenderin
2014-12-16 20:14:18 1155
原创 UILabel的各种属性
UILabel属性1.text:设置标签显示文本。 2.attributedText:设置标签属性文本。 iOS代码 NSString *text = @"string"; NSMutableAttributedString *textLabelStr = [[NSMutableAttributedString alloc] initWithString:text]; [t
2014-12-11 12:29:02 390
原创 UITableView的性能优化问题
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ UITableViewCell *cell = [[UITableViewCellalloc] initWithStyle:UITableViewCellStyleV
2014-12-10 23:12:57 312
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人