Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • I'm not saving anything right now - on view did load I am building the table, I have a save button, when clicked I gather all relevant data - on my test I don't touch the table but the results are always indexPath.row = 0. The table doesn't show a row selection (where it is highlighted in blue). See my edits to the OP. Commented Apr 16, 2013 at 13:28
  • Can you post the code where you are gathering those results? I'm not sure if you're updating an ivar in tableView:didSelectRowAtIndexPath: or if you're asking the table view for indexPathForSelectedRow. If the latter, it is probably returning a nil path and indexPath.row will equal 0 in that case. Commented Apr 16, 2013 at 13:33
  • Edited the OP - I'm using didSelectRowAtIndexPath Commented Apr 16, 2013 at 13:34