如何设置uitableView不滚动使其固定两行
最佳答案
使用:
tableView.scrollEnabled = NO;
如果你想固定尺寸,你应该将框架设置为 2 行的尺寸:
tableView.frame = CGRectMake(x_position,y_position,width,height);
祝你好运
关于iphone - 配置 UItableView 不在 iPhone 上滚动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5132089/