I want to make a custom keyboard that types custom emojis instead of just letters and numbers. The following code helps me type just a letter or number
[self.textDocumentProxy insertText:[key currentTitle]];
but if I change "currentTitle" to "currentImage" it does not result in the correct action because "insertText" is not expecting an UIImage. Can anybody help me with this?