Improved scrolling behaviour of Example app.

Enabled vertical bouncing even when content fits into container.
However, IMO this should be the default behaviour for all
vertically-scrolling views or lists, so the problem should actually be
fixed at the source, in TUIScrollView.
This commit is contained in:
Dmitri Shuralyov
2012-08-30 15:45:18 -04:00
parent 3b8a746c4f
commit 97b3a04833
@@ -41,6 +41,7 @@
we don't, so it could potentially save us some rendering costs.
*/
_tableView = [[TUITableView alloc] initWithFrame:b];
[_tableView setAlwaysBounceVertical: YES];
_tableView.autoresizingMask = TUIViewAutoresizingFlexibleSize;
_tableView.dataSource = self;
_tableView.delegate = self;