Localizing attributed UITextView from storyboard

后端 未结 4 2000
梦谈多话
梦谈多话 2021-01-01 16:00

I am using the storyboard and have a view where I have subclassed some UITextViews.

My problem is that I am using ibtool --generate-strings-file to extr

4条回答
  •  醉话见心
    2021-01-01 16:24

    I ended up concluding that it couldn't be done using ibtool in the present version.

    Instead I let the Textview be a plain text view and, using my subclass, parsed its text property so I could make a NSMutableAttributedString and set the needed properties.

    That enabled me to use ibtool to extract the strings and still have an attributed textview.

提交回复
热议问题