I have this subclass of UIViewController that shows a SKStoreProductViewController
. This view controller was originally created for iOS 5 and is NOT using auto-layout.
My problem is that when the SKStoreProductViewController
is presented, there's a space between the nav bar and the actual content... if you scroll the view, the segmented control (Details/Reviews/Related) floats below the nav bar (see the images below, I added a mask to the images to make the problem more apparent).
Since we don't have access to the presented view controller I'm guessing it has to do with the controller that presents the SKStoreProductViewController
. When the user taps on the button that presents the controller I've tried to change/shift the frame of the view, I've also done something like self.navigationController.navigationBar.translucent = NO;
but nothing seems to help.
Has anyone have had a similar problem? Any ideas on how to fix it?