Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ボタンを使用してUITextViewで編集したテキストをsqlite3に保存できるかどうかを知りたいのですが、そうであれば、最も簡単な方法を見つけることができる場所がありますか?
もちろん。新しいメソッドを作成し、ボタンのtouchUpInsideイベントに接続します。
touchUpInside
メソッド内で、からテキストを取得しUITextView、データベースに保存します。
UITextView
Core Dataを使用していますか?または、SQLiteデータベースに直接クエリを実行していますか?