You cannot do what you want in the interface builder. Rather, you need to implement this simple code to accomplish the required task.
You need to set the "Bounces" property to NO instead of YES and "Bounce Vertically" - "YES" in the interface builder. To enable bounce when there are more cells, you can use this code:
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { NSInteger iRows = [arraytableData count]; if(tableView.visibleCells.count < iRows) { tableView.bounces = YES; } else { tableView.bounces = NO; } return iRows; }
source share