cocoa touch - UIView is shown displaced to the top -


I have a simple app that has two view controllers, there is a UIBanner on top of both, such as the header The second UIViewController is displayed as a model view, when the user clicks on the first button.

When my app launches for the first time, the initial view does not completely cover the main UIView and looks "pushed" at the top (see picture below). Enter the image details here

After clicking on the "Instructions" button, which Displays the other

Nobody knows what I am doing wrong?

I have nothing, WilliamPaper, and this is my viewDidoad

  - (zero) viewDidload {{Super Viewedload]; If (! Self Model) {self.model = [[FRRSUSUS RC model model] Init]; [[Self. Header Image Object Atindex: 0] Settlement: @ "Perfect Sushi Rice: Ingredients"]; }}   

and my application: didFinishLaunchingWithOptions:

  - (BOOL) Application: (UIApplication *) Application FinishLaunchingWithOptions: (NSDictionary *) launchOptions { / Create and add the main controller (content). material. Controller = [[FRIRILL content view controller alloc] init]; [Add window subeview: self Broken content controller See]; [Window-making and knowledgeable]; Yes come back }   

This small project reproduces this behavior:

Do you want " full screen " for either UINavigationController or UIViewController



Comments