我有这样的树:
UITableViewController
我必须联系一位制作人。
起初我已经为每个级别使用了UTableViewController
但是我及时发现这不是最好的方法。现在我正在考虑一个{{1}}可膨胀细胞。
你如何处理类似的问题?
答案 0 :(得分:0)
我建议在选定的单元格下插入新单元格。
你有
-CountryA
-CountryB
-CountryC
用户选择CountryB。然后,在tableView:didSelectRowAtIndexPath中:使用方法insertRowsAtIndexPaths:withRowAnimation:with index paths section 0和rows 2-(CountryB中的区域数)。