nathantannar4 / InputBarAccessoryView

A simple and easily customizable InputAccessoryView for making powerful input bars with autocomplete and attachments
MIT License
1.15k stars 229 forks source link

About paste monitoring #257

Open rays77 opened 5 months ago

rays77 commented 5 months ago

I want to check whether certain data has been copied when pasting, and then the corresponding pop-up window will pop up. How should I deal with it? Please help me, thank you! ! !

rays77 commented 5 months ago

image These two methods are already handled internally, how do I handle these events outside?

nathantannar4 commented 5 months ago

You would probably need to subclass the InputTextView. You could then subclass InputBarAccessoryView, and set your new InputTextView via the setMiddleContent API

rays77 commented 5 months ago

thank you verry mach!