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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -