set font for label swift code example Example: set font uilabel swift UIFont(name: label.font.fontName, size: 20)