UITextView zeigt Font Attribute nicht richtig an

  • UITextView zeigt Font Attribute nicht richtig an

    Hallo Entwickler,

    ich weiß nicht, was mit meinem UITextView los ist. Es hat sich entschieden NSFontAttributeName Attribute nicht mehr anzuzeigen. Komischerweise funktionieren Dinge wie Farbe und Unterstrichen.

    Quellcode

    1. textView.attributedText = [[NSAttributedString alloc] initWithString:@"Bold" attributes:@{NSFontAttributeName : [UIFont boldSystemFontOfSize:17.0]}];