appDelegate.m文件在运行样本时候中止
self.view.controller=root.view.controller
请帮忙加下面的代码:
-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
/* 这行出错了 */
self.window.rootViewController=self.viewController;
[self.window makeKeyAndVisible];
return YES;
}