We want to provide a block with a curved border & background color inside UITextView, inside which user can add text, and it automatically expands based on amount of text.
Here is an image This is a block quote that expands when you keep going to lines, with a border & rounded corners
Tried using NSAttributedString to add a background color behind the text, but that doesn't solve the problem. Need an already created block with background & rounded corners inside which the user can input text.
Also tried NSTextAttachment, but unable to figure out how to add text inside an attachment and how to increase/decrease its height automatically as new lines are created.