问题:
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