I have an app that have user feedback feature. I have done the view as shown in the image. Feedback view that I made
What I want to do now is when user finished editing the textView, then they click other places such as the star rating or any area besides textview, it will hide the cursor on the textview but it will keep the written text at the same time.
Can anyone help me with this? Thank you.
You can make the tint color transparent to hide the cursor.
textView.tintColor = UIColor.clearColor()
In Swift 3:
textView.tintColor = UIColor.clear
Update for Swift 3.x:
textField.tintColor = .clear
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