oseparovic / MessageComposerView

Custom UIView that sticks to the keyboard like in iMessage
MIT License
100 stars 27 forks source link

issue #4 Changed to respect frame used in initWithFrame #5

Closed pompopo closed 10 years ago

pompopo commented 10 years ago

https://github.com/oseparovic/MessageComposerView/issues/4

pompopo commented 10 years ago

The height of MessageComposeView is calculated with UITextView's height and kComposerBackgroundTopPadding and kComposerBackgroundBottomPadding in resizeTextViewForText:animated:, not using original frame. So, I changed kComposerBackgroundTopPadding mutable, and to initialize it with original frame.

oseparovic commented 10 years ago

This looks great, thank you! I really appreciate the help. If you'd like to give me some way of contacting you I'd like to consult with you on some upcoming changes I want to make to the library.

You can reach me through my twitter at https://twitter.com/alexgophermix

pompopo commented 10 years ago

https://twitter.com/pompopo This is my twitter account. My tweets are only in Japanese, but feel free to send messages.