我正在(FirstViewController)的导航栏上做一个标签按钮,当我按下按钮时,它应该弹出视图控制器(FlipsideViewController)。我有这个链接器错误消息
架构 i386 的未定义符号:
_OBJC_CLASS_$_FlipsideViewController”,引用自:FirstViewController.o 中的 objc-class-ref ld:未找到架构 i386 clang 的符号:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)
这是我的代码
#pragma mark - Flipside View
- (void)flipsideViewControllerDidFinish:(FlipsideViewController *)controller
{
[self dismissModalViewControllerAnimated:YES];
}
- (IBAction)showInfo:(id)sender
{
FlipsideViewController *controller = [[FlipsideViewController alloc] initWithNibName:@"FlipsideViewController" bundle:nil];
controller.delegate = self;
controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:controller animated:YES];
}