Reputation: 171
am working on a to do list app and when am testing the app the segue work only at the second click for the first time then the segue start to work at the first click with late in the print ln statement
Upvotes: 2
Views: 154
Reputation: 171
problem solved instead of writing this:
tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath)
I wrote this:
tableView(tableView: UITableView, did**De**selectRowAtIndexPath indexPath: NSIndexPath)
Upvotes: 2