Search code examples
iosuiwebviewuitextviewwysiwygcore-text

Editable UITextView with Text and image?


One of my project requirement is to save data keyed in by the user. Which is text + image (they can attach image/video from photo album).

User should be able to edit the text in place (similar to ios mail.app), images can be inserted between texts and a delegate for taping image to provide image specific options.

I found few example to layout images and text with coretext but none of the coretext example I found are editable.

What kind of control should I use? How mail.apps and note taking app achieve this?


Solution

  • With iOS5, the WebKit implementation now supports contentEditable and designMode. You can then edit HTML text inline and even embed images.