Q：Xcode Interface Builder - Show objects out of frame?

Q：Xcode Interface Builder显示对象的框架？

I am building a vertical iPhone XIB file in the interface builder that contains a vertical scrolling ScrollView. The scrollview has about 19 buttons for a total height of about 3 times the iPhone screen's height.

This means I can't see the buttons at the bottom of the scrollview without giving the scrollview a negative Y-position setting. It gets really annoying every time I have to adjust the scrollview's Y-position just to see my buttons at the bottom of the scrollview because the XIB's frame "hides" everything that extends beyond its frame.

This has annoyed me for several years. Is there a setting somewhere that lets me see the XIB's frame (crop) boundaries, but also lets me see everything that extends beyond the frame's boundaries?? I never understood why it hides everything outside of the frame. It is restricting and slows down the work process when working with very tall ScrollViews.

Here, just do this in order to increase the visible canvas of your ViewController, that has scrollView (these metrics are simulated, so don't worry, it will not affect your view in simulator/device in any way):