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:
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
Post a Comment