UITextView文本排列

时间:2018-03-20 06:58:39

标签: ios swift uitextview

如何从左到右从上到下完成UITextView文字?像这样!谢谢您的回复。

截图:

谢谢!它有效!我试试 textView.transform = CGAffineTransform(rotationAngle:.pi / 2) textView.transform = textView.transform.scaledBy(x:1,y:-1) 但内容大小没有改变!换行的位置不准确。enter image description here

1 个答案:

答案 0 :(得分:0)

试试吧。

yourTextView.transform = CGAffineTransform(rotationAngle: .pi/2)

您可以使用rotationAngle上的某些更改轻松更改轮换地图,具体取决于angle