0
我將loadView
添加到我的LoginController中,現在我的應用程序在啓動圖像後變黑屏。 最好的解決方法是什麼? Theres任何方式運行autoLogin
發射圖像?loadView和黑屏
AppDelegate.h
// Load Login View
UIViewController *loadView = [[[LoginViewController alloc] init] autorelease];
self.window.rootViewController = loadView;
[self.window makeKeyAndVisible];
LoginController.h:
- (void)loadView {
[self autoLogin];
[super loadView];
}