InputBarViewController
open class InputBarViewController : UIViewController, InputBarAccessoryViewDelegate
An simple UIViewController
subclass that is ready to work
with an inputAccessoryView
-
A powerful InputAccessoryView ideal for messaging applications
Declaration
Swift
public let inputBar: InputBarAccessoryView
-
A boolean value that when changed will update the
inputAccessoryView
of theInputBarViewController
. When set toTRUE
, theinputAccessoryView
is set tonil
and theinputBar
slides off the screen.The default value is FALSE
Declaration
Swift
open var isInputBarHidden: Bool { get set }
-
Undocumented
Declaration
Swift
open override var inputAccessoryView: UIView? { get }
-
Undocumented
Declaration
Swift
open override var canBecomeFirstResponder: Bool { get }
-
Undocumented
Declaration
Swift
open override func viewDidLoad()
-
Invoked when
isInputBarHidden
changes to become or resign first responderDeclaration
Swift
open func isInputBarHiddenDidChange()
-
Undocumented
Declaration
Swift
@discardableResult open override func resignFirstResponder() -> Bool
-
Declaration
Swift
open func inputBar(_ inputBar: InputBarAccessoryView, didPressSendButtonWith text: String)
-
Declaration
Swift
open func inputBar(_ inputBar: InputBarAccessoryView, textViewTextDidChangeTo text: String)
-
Declaration
Swift
open func inputBar(_ inputBar: InputBarAccessoryView, didChangeIntrinsicContentTo size: CGSize)
-
Declaration
Swift
open func inputBar(_ inputBar: InputBarAccessoryView, didSwipeTextViewWith gesture: UISwipeGestureRecognizer)