Xcode错误:例如消息的接收器类型'SimpleCellPartes'没有声明带有选择器'presentModalViewController:animated:'的方法

时间:2013-02-19 19:50:41

标签: xcode uitableview

我收到错误:接收器类型'SimpleCellPartes'例如消息没有声明带有选择器'presentModalViewController的方法:animated:'

按钮位于tableview的单元格中,我尝试部署新视图

这是我的代码:

1 个答案:

答案 0 :(得分:0)

在您的代码中,当您尝试使用UITableView进行视图转换时,您正尝试执行以下操作:

[cell presentModalViewController: controller animated:YES];

但您的代码似乎没有出现。