Answers for "swiftui deselect tableview cell"

0

deselect cell swift

override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
    //Change the selected background view of the cell.
    tableView.deselectRow(at: indexPath, animated: true)
}
Posted by: Guest on May-05-2020
0

tableview cell animation swift

func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) {
    cell.layer.transform = CATransform3DMakeScale(0.1,0.1,1)
    UIView.animateWithDuration(0.25, animations: {
        cell.layer.transform = CATransform3DMakeScale(1,1,1)
    })

}
Posted by: Guest on January-03-2021

Code answers related to "swiftui deselect tableview cell"

Code answers related to "Swift"

Browse Popular Code Answers by Language