UITextview隐藏光标/更改光标的颜色 [英] UITextview Hide cursor/Change color of cursor
本文介绍了UITextview隐藏光标/更改光标的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的应用程序中,在UITextview中我想隐藏光标。
In my application, In UITextview i want to hide cursor.
如果这不可能,那么我想改变光标的颜色。
If this is not possible then I want to change color of cursor.
我们可以这样做吗?我已经搜索了它,但只获得了UITextfield的答案。
Can we do this? I have search for it but only getting answers for UITextfield.
谢谢。
推荐答案
只有在禁用编辑属性设置为否
You can hide the cursor only if you disabled the editing property set to No
这篇关于UITextview隐藏光标/更改光标的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文