iOS7 adds an add-on (64px) for the status bar. Therefore, when using Scrollview, there is a large camp between the scrollview and the navigation bar. I tried:
self.automaticallyAdjustsScrollViewInsets = NO;
Which removes the unwanted addition - however, the scroll no longer scrolls.
Is there another way?
* update **
I found a quick solution. I inserted scrollview and y origin = 64px in the storyboard instead of 0. I put my scroll view in 0px (the navigation bar then covered 64px of my scrollview) and when I ran it on the simulator, it was aligned as originally intended ... a little hack. However, I am looking for a solid solution.
source
share