tableView にテキストを表示するために TTStyledText を使用しています。TTStyledText テキストに '<' 文字が含まれていると、テキスト全体が null になるという問題に遭遇しました。
TTStyledText *text = [TTStyledText textFromXHTML:@"3<5" lineBreaks:YES URLs:YES];
[tnc setText:text];
NSLog(@"tnc - %@ & Text is - %@", tnc, tnc.text);
tnc はタイプTTStyledTextLabel
です。
ログはオブジェクトを表示しますが、テキストは として表示します(null)
。
ありがとう。