开发者

How to cache text entered in the UITextField?

I have a requirement where i need to enter a text in the text field and when i come out of the view and again open the same view where text field is present, i need the text entered earlier need to appear on the textfield(caching) before the user enters the text for the second ti开发者_StackOverflow中文版me.. Please help me..


Does the ViewController of the view containing the textfield get released if you leave the view? Maybe you should hold a reference to this ViewController that it won't be released and therefore your text is still present in the textfield.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜