Tuesday, January 22, 2019

How to set the font size without changing the font itself

cell.textLabel?.font = UIFont.systemFont(ofSize: 15.0, weight: UIFont.Weight.regular)

cell.detailTextLabel?.font = UIFont.systemFont(ofSize: 12.0, weight: UIFont.Weight.regular)