摘要: cell.selectedBackgroundView.backgroundColor = [UIColor whiteColor];//选中后变换,色彩的变换 cell.textLabel.highlightedTextColor = [UIColor colorWi... 阅读全文
posted @ 2015-06-03 17:04 暗夜追星 阅读(1322) 评论(0) 推荐(0) 编辑
摘要: - (void)viewDidAppear:(BOOL)animated{ [super viewDidAppear:animated]; NSIndexPath *selectCell = [NSIndexPath indexPathForRow:0 inSection:0]; ... 阅读全文
posted @ 2015-06-03 16:53 暗夜追星 阅读(799) 评论(1) 推荐(0) 编辑
摘要: 在大多数情况下,给UILabel进行动态数据绑定的时候,往往需要根据字符串的多少,动态调整UILabel的宽度或高度下面分两种情况:1、 UILabel的宽度不变,根基字体的多少,自动调整UILabel的高度,并折行显示UILabel *label = [[UILabel alloc] initWi... 阅读全文
posted @ 2015-06-03 10:18 暗夜追星 阅读(1384) 评论(0) 推荐(0) 编辑