How to keep 2 different fonts within the same UITextField or UITextView?

后端 未结 5 2065
我在风中等你
我在风中等你 2020-12-04 02:54

I want to set 2 different fonts within the same UITextField and UITextView . How to do it?

5条回答
  •  清歌不尽
    2020-12-04 03:25

    In interface builder change Text View's Text field to Attributed. In that small editor that appears you can change the font/format/color of the selected text, like in any advanced text editor.

提交回复
热议问题