When text entry in the UITextView causes a resize to occur (number of lines changes) the MessageComposerView will resize to default height and margins.
To reproduce, initWithFrame: using a frame taller than the default height and notice how it is respected when the View is first visible. Then enter text until you exceed one line of text, now the whole MessageComposerView will shrink to default dimensions and margins while the UITextView increases in size to allow for the new line of text.
When text entry in the UITextView causes a resize to occur (number of lines changes) the MessageComposerView will resize to default height and margins.
To reproduce, initWithFrame: using a frame taller than the default height and notice how it is respected when the View is first visible. Then enter text until you exceed one line of text, now the whole MessageComposerView will shrink to default dimensions and margins while the UITextView increases in size to allow for the new line of text.