これは何が原因ですか?Xcode 4.3 で iOS 5.1 を実行し、ストーリーボードを使用しています。
'NSInvalidArgumentException', reason: '-[WFTopTableViewController topViewController]: unrecognized selector sent to instance 0x6d56f80'
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Initial view controller is a Table View Controller, so we look up the window's rootViewController.
UINavigationController *navigationController = (UINavigationController *)self.window.rootViewController;
// Set up the controller.
WFTopTableViewController *controller = (WFTopTableViewController *)navigationController.topViewController;
// Pass the controller the managed object context for the first time.
controller.managedObjectContext = self.managedObjectContext;
return YES;
}
ありがとう!アマンダ