deselectItem(at:animated:)
Deselects the item at the specified index.
Declaration
func deselectItem(at indexPath: IndexPath, animated: Bool)Parameters
Discussion
If the allowsSelection property is false, calling this method has no effect.
This method doesn’t cause any selection-related delegate methods to be called.