注释公开按钮segue到UITableViewController

时间:2013-09-04 06:24:50

标签: ios annotations mkmapview uitableview segue

我有一个带有3个注释针脚的地图,上面有透露按钮,我想在显示按钮上设置一个segue,这样当我点击按钮时,它会将我带到我的UITableViewController名为“{{1 }}“

以下是代码:mapview.m

TableViewController

1 个答案:

答案 0 :(得分:0)

使用带有标识符(例如ABC)的segue连接MapController和TableViewController,然后调用

[self performSegueWithIdentifier:@"ABC" sender:self];
你的calloutAccessoryControlTapped方法

中的

相关问题