InputBarAccessoryView
InputBarAccessoryView copied to clipboard
Doc/Implementation Inconsistent
The inline docs for InputStackView
state
A UIStackView that's intended for holding
InputItem
sImportant Notes
- Default alignment is .fill
- Default distribution is .fill
- The distribution property needs to be based on its arranged subviews intrinsicContentSize so it is not recommended to change it
but the setup
function sets the alignment to .bottom
open func setup() {
translatesAutoresizingMaskIntoConstraints = false
distribution = .fill
alignment = .bottom
}
I'm uncertain as to which was intended.
I think the doc is not up to date. Would you mind updating it in a PR?
The code itself lives there for some time and is probably... working as expected.