Hi, I have a strange problem after adding my UIViewController.view to the application window.
I created a window-based application and added my view to my appDelegates method didFinishLaunchingWithOptions.
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
overviewViewController *overView = [[overviewViewController alloc] initWithNibName:@"overviewViewController" bundle:nil];
[window addSubview:overView.view];
[window makeKeyAndVisible];
return YES;
}
clicking the "Add" button is a model view controller. after rejecting this modelViewController the main view is perfect.
as you can see, I also tried to set boundaries before adding my subroutine without any success.
Does anyone have any tips for me, please, how to solve this problem?
source
share