如何更改 UITextView 中的文本位置 [英] How to change the text position inside UITextView
本文介绍了如何更改 UITextView 中的文本位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以更改 UITextView 中文本显示的位置.例如,我需要文本出现在 UITextView 底部附近.
Is there away to change the postion where text in UITextView displayed. for example, i need the text to appear near the bottom of the UITextView.
推荐答案
我不确定我是对还是错???但是你需要使用 UITextView
类的 contentOffset
属性来完成这个
I Don't know surly that i am right or not ??? but you need to use the contentOffset
property of the UITextView
class to accomplish this
获取更多信息参考本文档.
这篇关于如何更改 UITextView 中的文本位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文