You can embed a UITableView
into another UITableView
's cell, but due to potential issues with the embedded UIScrollView
s it is not recommended.
If you feel like you need a table in a table, first consider if it is not possible to achieve the desired behavior by using sections and cells in the sections (a section in a table might represent the top tableView
's cell, and cells in the given section would represent the embedded tableView
's cells).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…