开发者

How to save and retrieve text messages from UITextview

开发者 https://www.devze.com 2023-02-21 22:15 出处:网络
How to save and retrieve text whi开发者_高级运维ch is in UITextView? If anybody knows please help me. Give me some sample code.
 How to save and retrieve text whi开发者_高级运维ch is in UITextView?

If anybody knows please help me. Give me some sample code.

Thank you.


Use the text property.

// set text
myTextView.text = @"my text";

// get text
NSString *txt = myTextView.text;
0

精彩评论

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