So, I have this problem, basically the view controller appears below the navigation controller. This happens a lot in iOS 7, however, in this case I haven't been able to fix it with just self.edgesForExtendedLayout = UIRectEdgeNone
, because I don't know for which view controller I should set this.
How could I solve this?
Thanks.
Solved it. Create a
viewWillAppear
method in SPLoginViewController.m like so:Apparently the view controller we want to target is the one at index 0 in the UINavigationController's view controllers (SPLoginViewController is a UINavigationController).