摘要: 这个东西写在重用池里面NSIndexPath *first = [NSIndexPath indexPathForRow:0 inSection:0];[self.tableView selectRowAtIndexPath:first animated:YES scrollPosition:UIT... 阅读全文
posted @ 2015-03-19 21:03 Mr.Greg 阅读(589) 评论(0) 推荐(0) 编辑
摘要: 之前碰到过一个问题。 就是利用storyboard拖动出来的控件, 在iOS7上跑老是莫名的下移。比如这样(红色区域为多余的)解决办法:iOS7在Conttoller中新增了这个属性:automaticallyAdjustsScrollViewInsets,当设置为YES时(默认YES),如果视图里... 阅读全文
posted @ 2015-03-19 21:01 Mr.Greg 阅读(235) 评论(0) 推荐(0) 编辑