Move up a scroll view.

i have the next problem, i have a scroll view that contains an stack view in the center of my app, but in the botton of the view i have some checkbox, sometimes the user got 1, sometimes the user got 3. how i can move the scroll view to the top when the 3 checkbox are enable. to explain this in a graphic way and in a more common problem. Imagine that the checkbox are the keyboard, they go up (because it take more space when 3 checkbox are enabled) and i need to move the content of my app and maintain the content always in the visible rect of the scroll view. I cant use a simple view since the icons inside my scroll view had to have always the same size. all my constraints are made in a xib file. i dont want the full solution just ideas of what i can do or how i can face this problem. this is what i want , left image are devices like pro max series and right image the smaller ones, like SE 1st gent. Thanks

Move up a scroll view.
 
 
Q