How could I replace UIMenuController with my own view when text is selected?
问题 When text is selected, by default a UIMenuController pops up with cut/copy/paste etc. I'd like to replace this with my own custom view (similar looking, but twice as high so that I can have two rows of buttons/custom views). How can I do this? I know there's no easy way. I'm expecting that if there's an easy solution, it won't be very elegant. The code can't use any private API either. I'd really, really rather not have to implement my own text view, reimplement text selection and input, and