is there any way to do JUSTIFY the text in a UITextView in iOS
Is there any way to 'justify' the text in a UITextView
in开发者_运维问答 an iOS app?
No that's not possible in a UITextView. There are two ways to achieve this.
- Write a method that adusts the text with spaces in a way that it fits the textview exactely
- Use CATextLayer. That class has a property to set the alignment to Justifiy.
I hope this helps you out.
Sandro Meier
精彩评论