We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is no root view controller in your application delegate, so your demo crashed and I fixed it!
The text was updated successfully, but these errors were encountered:
(BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; self.window.backgroundColor = [UIColor whiteColor]; ............. ............. ............. UIViewController *rootCtr = [[UIViewController alloc] init]; UINavigationController* nav = [[UINavigationController alloc] initWithRootViewController:rootCtr]; [rootCtr.view addSubview:menu]; [self.window setRootViewController:nav]; // [self.window addSubview:menu]; [self.window makeKeyAndVisible]; return YES; }
Sorry, something went wrong.
No branches or pull requests
There is no root view controller in your application delegate, so your demo crashed and I fixed it!
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
.............
.............
.............
UIViewController rootCtr = [[UIViewController alloc] init];
UINavigationController* nav = [[UINavigationController alloc] initWithRootViewController:rootCtr];
[rootCtr.view addSubview:menu];
[self.window setRootViewController:nav];
// [self.window addSubview:menu];
[self.window makeKeyAndVisible];
return YES;
}
The text was updated successfully, but these errors were encountered: