I have two different sections in a tableview. I want to navigate to two different viewcontrollers on click of rows in different sections. I know that this can be accomplished in didSelectRowAtIndexPath() method but i am thinking on how to differentiate the click of rows in different sections.Can u please help me if this can be implemented?
Share
You can use a
switchstatement to determine the section of theUITableView.Example: