I am trying to imbed a scrollView in the detail side of a splitViewController. Should the scrollView be added inside the ‘View’, as displayed in the image below?

Or does the ‘View’ need to be removed, leaving a View Controller and a Scroll View only?
Also, when I add the scrollView to the page, the bottom is being cut off, preventing it from scrolling all the way to the bottom. I also tried resizing the scrollView in the ViewDidLoad method of the View Controller to something extremely large such as:
theScrollView.contentSize = CGSizeMake(20000, 20000);
That did not work either. It seems that we can hold down the mouse and pan, but the scroll bars are always the same length. Thanks your help!
I have ALWAYS implemented scrollviews as the UIScrollView with a UIView inside of it, then your other elements (i.e. buttons, text views, etc…) SO the hierarchy would be
Because you dont really have a top UIView WITHIN the scrollview, this is most likely why your
line is not working as intended.