【发布时间】:2014-03-03 21:39:44
【问题描述】:
我有一个这样插入的谷歌地图:
[self.view insertSubview:mapView_ atIndex:0];
我想在 Google Maps InfoWindow 点击事件上执行 segue:
- (void)mapView:(GMSMapView *)mapView didTapInfoWindowOfMarker:(GMSMarker *)marker
{
[self performSegueWithIdentifier:@"infoView" sender:self];
}
在故事板上,我将目标视图附加到发送者视图控制器,但它失败并显示错误消息:
Receiver (<Controller>) has no segue with identifier 'infoView'
我的问题是我应该在哪里附加目标控制器?
谢谢!
【问题讨论】:
标签: ios iphone objective-c google-maps