Answers for "swift tableview header change animation"

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 "Swift"

Browse Popular Code Answers by Language