UITableView
class UITableView : UIScrollView, NSCoding, UIDataSourceTranslating
-
Deselect the given rows, optionally with an animation.
Declaration
Swift
public func deselectRows(_ indexPaths: [IndexPath], animated: Bool)
Parameters
indexPaths
The rows to deselect.
animated
true
if you want to animate the deselection, andfalse
if the change should be immediate. -
Deprecated: Please use
deselectAllRows(animated:)
instead.Refer to the documentation for
deselectAllRows(animated:)
for more info.Declaration
Swift
@available(*, deprecated, renamed: "deselectAllRows(animated:﹚") public func deselectAllRows(_ animated: Bool)
-
Deselect all currently selected rows, optionally with an animation.
Declaration
Swift
public func deselectAllRows(animated: Bool)
Parameters
animated
true
if you want to animate the deselection, andfalse
if the change should be immediate.