How can I initialize a UITextView that is nice and pretty. I have the line:
textView = [[UITextView alloc] initWithFrame:CGRectMake(150, 150, 100, 100)];
but I’d like to make it look nice and I do not know the functions or the syntax to do so. I’d like it to have word wraping and I’d like the corners to be rounded. Also, how can I make it so that the keyboard goes away if the user presses “Return” on the keyboard. And I’d like to make it say “Done” instead of “Return”
You should check the documentation. This is all in there. Specifically:
You might want to consider using a UITextField, as that object’s delegate has a very convenient -textFieldShouldReturn: method, and you can, as I said, set its border.