iOS: Button to access next Tableview cell
问题 I have a main view controller which is a tableview, after selecting a cell from the table view, another view is displayed. How can I create buttons to access and display the next and previous cell's view? I have the toolbar and buttons set, I just need help with the code to access and push the next view. 回答1: If you pass the data for the tableView (presumably an array containing info for the cells) to your detailViewController , then you can navigate through the items that way. When you