Stevia icon indicating copy to clipboard operation
Stevia copied to clipboard

using layout with safeAreaLayoutGuide

Open kallipigous opened this issue 2 years ago • 0 comments

I love the simplicity of layout but I keep finding areas where I seem to need to use other commands external to that block.

for example, is there a simple say to include safeAreaLayoutGuide in the equations

something like:

layout( ~ |view1| |view2|
~ )

for top and bottom constraints that are safe

Similarly, what about centering horizontally and vertically in the layout, or distributing views within the available space (like a stack view)

Am I missing something?

kallipigous avatar Mar 17 '22 19:03 kallipigous