Tells the delegate that a specified row is about to be deselected.
- iOS 3.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
A table-view object informing the delegate about the impending deselection.
An index path locating the row in
tableto be deselected.
An index-path object that confirms or alters the deselected row. Return an
NSIndex object other than
index if you want another cell to be deselected. Return
nil if you don’t want the row deselected.
This method is only called if there is an existing selection when the user tries to select a different row. The delegate is sent this method for the previously selected row. You can use
UITable to disable the appearance of the cell highlight on touch-down.