0

我有一个 UITableView,它是滚动视图的子视图。我可以很好地选择单元格,但我不能滚动。表格视图在显示时完全覆盖了滚动视图。如何使表格视图滚动?

4

1 回答 1

0

You most likely need to set the content size of the containing UIScrollview.

[containingScrollView setContentSize:youtTableView.contentSize];

You should be able to get the appropriate contentSize after you ViewDidLayoutSubviews method in your UIViewController lifeCycle.

于 2013-08-16T00:49:29.453 回答