I’m trying to create a tableview which contains different types of table cell but I’m stuck. How do I return a different type of cell dependent on the row number in the…
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath {
function.
All you gotta do is switch on the row or section of your nsindexpath and return the appropriate UITableView cell…lets say u have TableViewCellA and TableViewCellB one for row 0 and other for row 1
and so forth, hope this helps