I have a UILabel
in which I want to display a Unicode character. The following works:
label.text = @"\U000025A0";
Now I want to dynamically generate the Unicode character from a decimal number as follows:
label.text = NSString stringWithFormat:@"\U%08x",9632];
Xcode compiler fails with the following error:
\U used with no following hex digits
Is there a way to convert the decimal number 9632 to Unicode and then display it in a UILabel
?