开发者

how to put different cell values if I have more than one sections?

I have two sections in my UITableView, in one view I want to show data from one NSMu开发者_如何学编程tableArray say AArray and in other sections I want to show the data from other NSMutableArray say BArray

how can i achieve such concept?


You look at the index path.

if (indexPath.section == 0)
    // Use array A
else
    // Use array B
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜