views:

247

answers:

2

I've a UITableView and I populate data from a service. When the number of rows is higher than what could be displayed on the screen, I'm able to scroll the table. But when it's less (say 1 or 2), I'm unable to scroll (in the sense, the bouce effect doesn't work making the UI appear odd).

I think this should be fixed by some IB checkbox, but not sure how to do it. Anyone faced this issue before?

A: 

Click on the table view and look at the Attributes Inspector. There's a checkbox for Bounce Scroll. (I just tested this in a project that had a 2-line table; disabling it prevented scrolling, enabling it allows the short table to bounce)

I think the programatic equivalent is the bounces property.

Shaggy Frog
This didn't work... :(
Mugunth Kumar
A: 

Do you have this table view as a cell inside another table view?

Andrei Stanescu