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