I'm writing an application where I allow the user to draw onto a canvas. I have already implemented a function that allows the user to draw and erase using their finger however I would also like the user to be able to enter text onto the canvas. Since this is not predefined text I do not know what to do.
I would ideally like the user to press a text button > then the user would touch a spot on the canvas where they would like to draw > the keyboard to pop up > the user can enter letters and they will appear on the screen
I've googled ways of doing this and can't seem to find an example or figure out a way of doing it.
Any help would be greatly appreciated.