问题
Relating to UITableView sections to always stay within view but I got an idea I'm not sure of:
Has anyone ever tried to nest a UITableView in another UITableView, whether by putting the second one as the tableHeaderView or as a section header of the first one?
回答1:
UITableView is derived from UIScrollView. It is generally not a good idea to have a scroll view inside a scroll view (exception: when the scrolling directions are perpendicular to each other).
Otherwise you would end up with a user interface that is not appropriate for most users.
来源:https://stackoverflow.com/questions/11070875/uitableview-in-table-views-headerview