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
Post a Comment