xcode - iOS interfaceBuilder - attributedText how to add subscript typeface -


in xcode's interfacebuilder when switch uilabel text attributedtext how add subscript or superscript typeface section ? i'd change text on fly . here image show need done in interfacebuilder:

enter image description here

you can set many attributes via interface builder, think 1 can in code. have add value nsbaselineoffsetattributename attribute, takes floating-point value indicate y offset font's baseline.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -