How can I render RTF with images on an iPad?

Our customer has RTF files with images and wants it rendered on the iPad.

I'm using Swift, TextView with NSAttributedString and it does render the code, but not the images.

Please, any help would be appreciated.