How to Center Stack View on Screen in Both Landscape and Portrait?

Hi all,

I would like to know how to center a stack view on the screen so that it is visible in both Portrait AND Landscape or in various size screens.

I’ve tried Aspect Fit for the two buttons and label that are in said stack view. I’ve also checked the documentation from Apple (and the Ray Wenderlich Auto Layout course on this site…which I’m still in the middle of). The Apple documentation mentions autoresizingMask, and I don’t know if this is what would fix the problem?

It seems like something so simple and I’d really like to understand how to do do this. I do not understand how to use the autoresizingMask property(?) if that is indeed the solution. Please help. Thanks.

Anyone??? Either this task is more difficult than I thought or I worded my question incorrectly. :frowning:

@kiwiandthemango Do you still have issues with this?