摘要: return cell;上边加判断if(self.dataArray.count<1){return cell;} 阅读全文
posted @ 2015-10-22 15:52 拿起放不下 阅读(280) 评论(0) 推荐(0) 编辑
摘要: //方法1.关闭自动布局 self.automaticallyAdjustsScrollViewInsets = NO;//方法2.改变相对于scrollview的位置//contentInset可以为继承于ScrollView的控件添或减少额外的滑动区域 /* 4个参数分别为相比原有坐标所需... 阅读全文
posted @ 2015-10-22 15:47 拿起放不下 阅读(552) 评论(0) 推荐(0) 编辑
摘要: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ [tableView deselectRowAtIndexPath:indexPath animated:YES... 阅读全文
posted @ 2015-10-22 11:28 拿起放不下 阅读(241) 评论(0) 推荐(0) 编辑