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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user