摘要:
在iOS4.3中可以直接设置footer为nil,但是在5.0不行,因为UITableView会默认生成一个Footer。 (详见iOS Release Notes中的说明:Returning nil from the tableView:viewForHeaderInSection: method 阅读全文
posted @ 2016-04-21 17:11
会飞的夜良
阅读(770)
评论(0)
推荐(0)
摘要:
1.更新xcode7.3后rac中的weak问题的解决方法:Build Settings中Apple LLVM7.1 Laguage-Object-c 下的Weak References in Manual Retain Release 改成Yes; 2.Xcode7.2不支持iOS9.3 无法真机 阅读全文
posted @ 2016-04-21 01:47
会飞的夜良
阅读(150)
评论(0)
推荐(0)
摘要:
UIWindow *window = [UIApplication sharedApplication].keyWindow; window 为nil的原因:在指定rootViewController之前,没有让window 先可视化 1.示例 为nil: self.window = [[UIWin 阅读全文
posted @ 2016-04-21 01:41
会飞的夜良
阅读(847)
评论(0)
推荐(1)
摘要:
在TableView中,当cell 处于Hightlighted(高亮)或者Selected(选中)状态下,Cell上的子控件的背景颜色会被 Clear。 解决方法:(4种) 1. 直接设置子控件的 layer的背景颜色, layer不会受影响 2.重写方法,执行 -(void)setHighlig 阅读全文
posted @ 2016-04-21 01:00
会飞的夜良
阅读(430)
评论(0)
推荐(0)