更改 UITextField 和 UITextView 光标/插入符号颜色 - Change UITextField and UITextView Cursor / Caret Color

问题:

I'm wondering about changing the color of the cursor / caret in a UITextField (And UITextView if its the same answer) in iOS.我想知道如何在 iOS 中更改UITextField光标/插入符号的颜色(如果答案相同,则为UITextView )。 I've seen answers for OSX development, but nothing for iOS.我已经看到了 OSX 开发的答案,但没有看到 iOS 的答案。

Is this even possible?这甚至可能吗?


解决方案:

参考一: https://stackoom.com/question/mhFf
参考二: Change UITextField and UITextView Cursor / Caret Color
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章