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