I’ve got a textView on my main view. I have got a button, on pressing takes me to next view that has a UITextField.
When I type a sentence, it appears on my textView. But my problem is, When I go back on hitting the button and type another sentence. The second sentence also gets displayed with the earlier one.
I have googled, is there a way to update the changes? Or should I write any delegate to update changes. Please help me out with this.
Thanks!!
If you want only the second message to appear try to use
or
if you want the second sentence to appear on another line, use
I do believe there is some method for appending string, but I don’t know it by heart.