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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -