uilabel font size programmatically swift 5 code example Example: uilabel font size swift label.font = label.font.withSize(20)