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