0

For some reason when I click inside the UITextView it starts in the middle. I want the caret to be placed at the beginning of the UITextView control.

john doe
  • 9,220
  • 23
  • 91
  • 167

1 Answers1

0

It sounds like text alignment is set to center instead of left-justified. If you created the UITextView in a nib, open the nib in Xcode, select the UITextView, select the attributes inspector in the right column of Xcode, and scroll down to the Alignment setting. You will see a control with three segments. Make sure the left segment (left-justified) is selected.

bneely
  • 9,083
  • 4
  • 38
  • 46