ComposerKeyboardHandler
The component for handling keyboard events and adjust the composer.
open class ComposerKeyboardHandler: KeyboardHandler
Inheritance
Initializers
init(composerParentVC:composerBottomConstraint:)
The component for handling keyboard events and adjust the composer.
public init(
composerParentVC: UIViewController,
composerBottomConstraint: NSLayoutConstraint?
)
Parameters
composerParentVC
: The parent view controller of the composer.composerBottomConstraint
: The bottom constraint of the composer.
Properties
composerParentVC
public weak var composerParentVC: UIViewController?
composerBottomConstraint
public weak var composerBottomConstraint: NSLayoutConstraint?
Methods
start()
open func start()
stop()
open func stop()
keyboardWillChangeFrame(_:)
@objc open func keyboardWillChangeFrame(_ notification: Notification)