Finally, I did it like this. First take two arrays. Then combine it into one array and load the table view from this array. If you need separate actions, then in the didselect method check if the object contains the first array then does something, otherwise do another ...
source
share