to show in my app Japanese Text with phonetic text I’ve found this tutorial. in the bottom of the page there is the example project as well.
the problem is this code show the text on the top of the label. I would like that it shows the text on the center of the label, like original UILabel. How can I do it?
Have you any suggestion?
Thank you very much
Hi @rufy, if you could share what you’ve tried here or a snippet of your code that would be helpful. One way to display text in the center of a label without auto layout would be to use the instance property center.
label.textAlignment = .center
Thank you @gdelarosa. unfortunately my problem is other. I’m trying to create a label that show nsattributedstring that use ruby annotation and works like a normal UILabel
This topic was automatically closed after 166 days. New replies are no longer allowed.