I create new "Window-Based" project in xCode and a subclass of UIViewController name Main View, colour MainView with blue. In My App Delegate i have method:
- (void)applicationDidFinishLaunching:(UIApplication *)application {
// Override point for customization after application launch
mainViewController = [[MainView alloc] init]; // mainView is a subclass of UIViewController and be declared in AppDelegate interface.
[window addSubview:mainViewController.view];
//[window addSubview:navController.view];
[window makeKeyAndVisible];
}
My MainView loaded into Window but it have clearance (image bellow). Anybody can help me to fix it :(