swift proper way to set font size code example
Example 1: uilabel font size swift
label.font = label.font.withSize(20)
Example 2: set font uilabel swift
UIFont(name: label.font.fontName, size: 20)
label.font = label.font.withSize(20)
UIFont(name: label.font.fontName, size: 20)