There’s a nice Apple session from this year’s WWDC about this where they suggest using the new resizing feature of the simulator (born to support the foldable iPhone) to have a “drawer” for all the controls and tools to fine tune your UX. I’ll be stealing that for the web as well