ios - hide the inputToolbar in JSQMessagesViewController -


i using jsqmessagesviewcontroller chat application. when there no internet activity hide inputtoolbar

i tried this, not work:

    self.inputtoolbar.frame.size = cgsize(width: 0,height: 0) 

when set this, less second it's gone:

    self.inputtoolbar.preferreddefaultheight = 0 

any idea how this? maybe disabling inputtoolbar enough.

instead of removing superview , having add subview, why not use:

[self.inputtoolbar sethidden:yes];


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -