I guess my description is not clear enough. So I’ll try again:
- Imagine there is a ViewController, called Picture, that display two lines, Title and Description.
- In case the user tap one of the rows a new view controller is displayed, either Title or Description view controller.
- Each of these view controllers (i.e. Title or Description) displays a single raw of a custom cell with a UITextField in it.
The Problem:
- Suppose the user types in a Title and hits the Done button —> The Title is displayed in the Picture view controller. – That’s good.
- If I hit the Title row again, the title view controller is displayed but the placeHolder text is shown instead of the title that was previously entered by the user. – that’s BAD!
I tried to use [[cell mTitle] setText:picTitle] but it doesn’t shown.
If you are using a UITextLabel, its not editable.
If you are using a UITextfield it should be editable after setText
If you are using a UITextView, set editable=YES;