Long story short: I end up using NSTextAttachment to saveImages on the phone. To keep track the image (cursor) location in textView, I actually saved the cursor location in table as well (var imageLocation: [String] so that I can load it back to the same location in textView. Yes, I kept the image size small, but looks pretty good on the phone.
It works well for me, but Not Perfect.
Topic:
Programming Languages
SubTopic:
Swift
Tags: