tableView反弹的原因:
一.先检查你的cell是否用了,有的人直接在tableView上加视图,利用的是他的滚动功能,但是此时的cell没有被利用,所以他的默认的tableView的高度是一个cell的高度,而你实际的高度设置的是200或者本界面的大小,这样,高度设置高了,界面拉到底就会有反弹的效果.
二.如上所说,是否你的tableView的高度设置的过高
三.如果想在tableView上加View,用
contentView的属性,如:
BFPersonDataVeiw * person = [[BFPersonDataVeiw alloc]initWithFrame:CGRectMake(0, 0, self.frame.size.width, 260)];
[self.contentView addSubview:person];
BFAccountDataView * account = [[BFAccountDataView alloc]initWithFrame:CGRectMake(0,260, self.frame.size.width, 200)];
[self.contentView addSubview:account];
BFOtherFounctionView * qita = [[BFOtherFounctionView alloc]initWithFrame:CGRectMake(0, 460, self.frame.size.width, 200)];
[self.contentView addSubview:qita];
这样就在一个cell里加了三个view