Did you try adding the NavigationBar Delegate
@interface MyClass : UIViewController <UINavigationBarDelegate>
And the following method?
- (UIBarPosition)positionForBar:(id <UIBarPositioning>)bar {
return UIBarPositionTopAttached;
}
And remember to add a constraint of 20 from the top.