I am using the iOS Reminders App on my iPhone, and I was noticing that inside the tableview it allows you to enter text that can wrap around to a new line and continue entering text for a reminder. I notice that the height of the cell changes to accommodate the size of the reminder text supplied. My question is I know this could be done with a UILabel, but you can’t edit and enter text in a UILabel can you? So it must be a UITextField, but I thought a UITextField didn’t allow the words to wrap to a new line? I thought it just continued to shrink itself down on one line? So what am I missing here?
Share
Have you tried UITextView, it does the auto wrapping for you, but to auto resize the table cell height, might have to use the textViewDelegate didReplaceString method.