uilabel with different font sizes swift code example Example: uilabel font size swift label.font = label.font.withSize(20)