Top "Didselectrowatindexpath" questions

iOS - didSelectRowAtIndexPath: is a UITableView delegate method which is called when the user selects a row on a table view.

prepareForSegue called before didSelectRowAtIndexPath only when third segue is added

I have 3 segues to 3 different views. 2 are implemented with no problem, it is when the third is created that the …

ios interface-builder storyboard segue didselectrowatindexpath
UITableView didSelectRowAtIndexPath not being called on first tap

I'm having an issue with UITableView's didSelectRowAtIndexPath of ios 5, which is correct in ios 4. The first time I tap any …

uitableview ios5 didselectrowatindexpath
didSelectRowAtIndexPath returns wrong IndexPath

I have encountered a really puzzling bug. The first row of my UITableView returns 1 and the second one returns 0 in …

iphone objective-c uitableview didselectrowatindexpath nsindexpath
didSelectRowAtIndexPath with section

I have a UITableView which I have assigned sections. When using didSelectRowAtIndex with indexPath.row I am not getting the …

iphone objective-c sdk didselectrowatindexpath
Properly setting up willSelectRowAtIndexPath and didSelectRowAtIndexPath to send cell selections

Feel like I'm going a bit nutty here. I have a detail view with a few stand-alone UITextFields, a few …

iphone uitableview didselectrowatindexpath
How to select/set a selected row in picker view as default selected row every time

I have a picker view [picker selectRow:3 inComponent:0 animated:YES]; when i wrote this code in view did load, This …

iphone objective-c datepicker uipickerview didselectrowatindexpath
Selecting and Deselecting UITableViewCells - Swift

Currently I am able to tap a cell and select it using didSelectRowAtIndexPath. However, I am unable to deselect it …

ios uitableview swift didselectrowatindexpath
UITableView didSelectRowAtIndexPath add additional checkmark at tap

When i select a player in 'didSelectRowAtIndexPath' and add a checkmark on the selected row it adds an additional checkmark. …

iphone uitableview didselectrowatindexpath
Select ALL TableView Rows Programmatically Using selectRowAtIndexPath

I'm trying to programmatically select all rows in my tableview using the following code: func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: …

ios swift uitableview didselectrowatindexpath
UICollectionView allow multiple selection for specific section

Is there a way to allow multiple selection only for a specific section? The code below affects all sections. [self.…

ios uicollectionview uicollectionviewcell didselectrowatindexpath