I have a rather complex setup of custom views. A StackView inside a ScrollView etc.
Everything works fine until I embed my ViewController inside a NavigationController. (took me way too long to figure that out.. grinch)
Uncheck "Adjust Scroll View Insets" in your ViewController. That fixes your problem.
In iOS 7, Apple changed how ViewControllers with UIScrollViews are displayed.
When the first subview of a ViewController is a
UIScrollView, the UIScrollView it will be rendered beginning from the top of the ViewController - even if a
UINavigationBar is on top -- unless you uncheck that button or set