uilabel - Ensuring the symbol th in iOS appears correctly -


i need have 19th century in uilabel. should appear 19th century th symbol superscript. entering label using plist. how ensure appears correctly in ui?

need guidance on this.

image attached:enter image description here

use unicode characters (u+1d57) , ʰ (u+02b0).

you can enter these literally as:

nsstring *num = @"19 ᵗʰ"; 

or:

nsstring *num = @"19\u1d57\u02b0"; 

if don't nice enough, using nsattributedstring best.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -