开发者

uitextview and sqlite3

开发者 https://www.devze.com 2022-12-23 13:15 出处:网络
i would like to know whether is it possible to save the edit开发者_JAVA技巧ed text in UITextView to sqlite3 by using a button?if so is there anywhere i can find the easiest way to do it?been googling

i would like to know whether is it possible to save the edit开发者_JAVA技巧ed text in UITextView to sqlite3 by using a button?if so is there anywhere i can find the easiest way to do it?been googling but in vain..


Sure. Create a new method and hook it up to your button's touchUpInside event.

Inside the method, grab the text from the UITextView, and then save it to your database.

Are you using Core Data? Or are you directly querying a SQLite database?

0

精彩评论

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