I created a simple project but I deleted the storyboard and the xib file (screenshot) then I lunched my application from the 'AppDelegate' and I got unusual result in the screen as you can see in the link on the bottom.
why the status bar is not in the top and why there are two padding in black ?
this is my 'AppDelegate' code :
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
self.window = [[UIWindow alloc] initWithFrame:UIScreen.mainScreen.bounds];
self.window.rootViewController = [[MainViewController alloc] init];
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
return YES;
}
link : first screen