I want to have a UITextField with multiple lines, after a quick google on this issue, I found that I should use TextView, so I switched my code to use a UITextView when I need multiple lines. My view still has another text text that I want to save.
To make my TextView look like a TextField, I had to add code to set the border and radius, but they look a bit different on iOS7. Somebody knows:
- What is the border color of a UITextField? when both are on and off, so I can send a text image to match it.
- What is the radius of the angle of the TextField.
- What is the background color for a UITextField when it is disabled [attached image shows that the text field has a lighter shade of gray when it is disabled]? so I can set my text view to the same color when I turn off user interaction.
If you need to continue to use the text box for multi-line text, I’m all ears and I switch to using it.
Regards,

source
share