Login to main app
问题 I've already built the main app and the login. In the appDelegate.m didFinishLaunchingWithOptions , I have [self.window addSubview:rootController.view]; Which loads up the mainView. However, I would want it to load up my login first as on a successful login, it will load the rootController (main app) etc. When I put [self.validateViewController presentModalViewController:validateViewController animated:YES]; and run the app, all I get is a white screen. What am I doing wrong? -> The reason I