I am adding SubViews to a vertical UIStackView with AddArrangedSubView. By default those views are positioned at the Left and Right edges.
I can set
LayoutMargins = new UIEdgeInsets(top: 0, left: 15, bottom: 0, right: 15),
LayoutMarginsRelativeArrangement = true
And that will give me 15px of Left and Right Padding. That's great but what I really want is for the Left and Right padding to be controlled by the ReadableContentGuide. This works perfectly on a UITableView
and the property is available on UIStackView
however it has margins of 0.
How can I get a UILayoutGuide
that has the right values for the current device and orientation?