TwitterTextEditor icon indicating copy to clipboard operation
TwitterTextEditor copied to clipboard

How do I add a custom view

Open lczalh opened this issue 4 years ago • 3 comments

How do I add a custom view

lczalh avatar Apr 06 '21 02:04 lczalh

Hi, @lczalh. To answer your question, could you elaborate a little more about what you meant by “custom view”?

niw avatar Apr 06 '21 05:04 niw

Hello! I want to insert a custom view of an image, button, etc into the input box

lczalh avatar Apr 06 '21 06:04 lczalh

I see. In hat case, you can add such subviews using textContentView. TextEditorView contains UITextView and it may have a few subviews, therefore textContentView is the best for adding your custom subviews.

niw avatar Apr 10 '21 01:04 niw