Можно ли установить свойство attributedText
объекта UILabel
? Я попробовал код ниже:
UILabel *label = [[UILabel alloc] init];
label.attributedText = @"asdf";
Но он дает эту ошибку:
Свойство "attributedText" не найдено на объекте типа 'UILabel *'
#import <CoreText/CoreText.h>
не работает