MessageKit / MessageInputBar

A powerful InputAccessoryView ideal for messaging applications
MIT License
64 stars 44 forks source link

How to make left stack view stick at the bottom. #12

Closed moldovaniosif closed 6 years ago

moldovaniosif commented 6 years ago

Hi, I wanted to make the left stack view stick at the bootm of message input bar in the same way as "Send" button. Is this possible?

img_0033

nathantannar4 commented 6 years ago

Have you tried adjusting the alignment of the InputStackView?

moldovaniosif commented 6 years ago

Thank you @nathantannar4 for your replay, I tried the InputStackView bottom allignament but it didn't work. The implementation for FacebookInputBar from the Example app sheowed me the issue. Actualy I mistakenly add as subview the attachment image view in the left stack view instead of calling: setStackViewItems([attachmentItem], forStack: .left, animated: false).