Reputation: 21
How do I set uitableView not to scroll So that it is fixed with two rows
Upvotes: 2
Views: 833
Reputation: 19869
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
Upvotes: 4