xcode 7.2 storyboard 怎么设置storyboard中tableview的section

2025-05-20 01:37:03
推荐回答(1个)
回答1:

你需要知道什么内容使用哪种cell 你需要为这2个cell在storyboard中设置不同的identifier, 具体做法是在storyboard中选中cell, 然后如下图 , 你需要设置2个不同的identifier 这样准备工作就完成了, 你的代码中, tableView的数据源是一个NSArray, ...