InputStackView

open class InputStackView: UIStackView

A UIStackView that’s intended for holding InputBarButtonItems

Important Notes

  1. Default alignment is .fill
  2. Default distribution is .fill
  3. The distribution property needs to be based on its arranged subviews intrinsicContentSize so it is not recommended to change it
  • The stack view position in the MessageInputBar

    • left: Left Stack View
    • right: Bottom Stack View
    • bottom: Left Stack View
    • top: Top Stack View
    See more

    Declaration

    Swift

    public enum Position
  • Undocumented

    Declaration

    Swift

    public convenience init(axis: UILayoutConstraintAxis, spacing: CGFloat)
  • Undocumented

    Declaration

    Swift

    public override init(frame: CGRect)
  • Undocumented

    Declaration

    Swift

    required public init(coder: NSCoder)
  • Sets up the default properties

    Declaration

    Swift

    open func setup()