0

I have used IQKeyboardManagerSwift in my project. I have a Centered aligned TextView and the problem is Cursor is positioned at center instead of at the beginning of Placeholder text.

TextField with centered alignment is working fine, it shows cursor at the beginning but issue is in Centered aligned TextView.

How do I get cursor at the beginning of placeholder text in Centered aligned TextView ? (see attached screenshot - Write Description TextView) https://ibb.co/5RWNzTW

I already have gone through this link Getting and Setting Cursor Position of UITextField and UITextView in Swift but no luck! It would be great if anyone could help! Thank You!

0 Answers0