Как настроить метку Width в соответствии с текстом? Если длина текста мала, я хочу, чтобы ширина метки была маленькой... Если длина текста мала, я хочу, чтобы ширина меток соответствовала этой длине текста. Возможно ли это?
На самом деле у меня есть два UIlabels. Мне нужно разместить их поблизости. Но если текст первого ярлыка слишком мал, будет большой пробел. Я хочу удалить этот пробел.