I have a scrollview that I had to the view of the view controller pushed to a UINavigationController.
My navigation bar is opaque.
However, the scrollview seems to keep size of the whole parent view. I would like the scrollview to have the size of the space between the toolbar and the navigationbar.
Is this possible or do I have to hardcode some size values?
Thanks in advance
When you initialize your scrollView you can set its contentSize parameter:
The height of the screen (480) minus the toolbar (44) and navigation bar (44) = 392. Drop that to 372 if you’re also displaying the carrier status bar.
or, use the frame geometry properties: