0
我試着做一個iPhone應用程序爲我的課程,並即時得到錯誤應用程序窗口預計將有在應用程序啓動的結束(iPhone應用程序)根視圖控制器
2015-06-26 00:41:31.721 My Movies[3313:6954045] Application windows are expected to have a root view controller at the end of application launch
即時通訊目前流失的Xcode 6.3.2(6D2105)
這是我的AppDelegate.m完成啓動選項部分看起來像
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
self.window = [[UIWindow alloc] initWithFrame: [[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.window.backgroundColor = [UIColor blackColor];
// Create Film TableView and add it to Navigation Controller, then add Nav'Controller to Window
FilmTableTableViewController *vc = [[FilmTableTableViewController alloc] initWithStyle:UITableViewStylePlain];
navController = [[UINavigationController alloc] initWithRootViewController:vc];
[[self window] addSubview:[navController view]];
[self.window makeKeyAndVisible];
return YES;
謝謝!!解決了這個問題:D –