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