开发者

configure UItableView not to scroll on iPhone

How do I set uitableView not to scroll So th开发者_高级运维at it is fixed with two rows


Use:

  tableView.scrollEnabled = NO;

if you wish to fix the size you sould set the frame to be for 2 row's size:

tableView.frame = CGRectMake(x_position,y_position,width,height);

good luck


use this code:

tableView.scrollEnabled = NO;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜