How to display superscript asterisk in UIlabel

In Swift version, simply copy this asterisk sign and paste in your string or UILabel text.

E.g. lblTest.text = "This is required field ⃰

This might help some other people who are seeking to put the asterisk sign in a simple string.


Since there is no superscript asterisk in unicode, I would go for the MODIFIER LETTER CROSS ACCENT, 0x02DF. This yields for instance A˟ or f˟.


As per http://unicode.org/mail-arch/unicode-ml/Archives-Old/UML017/0066.html, there's no such thing as a "Superscript Asterisk" character in Unicode.

Tags:

Iphone

Unicode