How can I have more than 2 values held by my table view cell? What I want to happen is when I click a cell in my table view, it will pass 3 values to the next view. But I can only get two values (name, address) because they are contained in the textlabel and detailtextlabel but the (phone) is not being showed in my cells, only name and address.
Share
If u want to display more value in cell the create custom cell.
Option is use NSMutableArray with like below and show all values in custom cell:
Add as many array into arrValues.
Now when tableViewDidSelectAtRow ‘s method: pass this array to next controller