In my application, In UITextview i want to hide cursor.
If this is not possible then I want to change color of cursor.
Can we do this? I have search for it but only getting answers for UITextfield.
Thanks.
On iOS 7, you can simply set the tintColor of your text view as the same of its backgroundColor to make the cursor invisible.
textView.tintColor = textView.backgroundColor;
or you can try:
textView.tintColor = [UIColor clearColor];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With