0

I am displaying the annotations with callout bubbles on map view with respect to data base data. If I click on the annotation pin, the callout showing the that address. I am doing this on every pin annotation on map view. But while I am passing that data, what I have displaying on callout to next view, only single address going to next view as every time.

Please give me the solution.

4

1 回答 1

0

当点击 Callout 时,您将调用 calloutAccessoryControlTapped 函数。在这里,您通常必须创建 Next View - Controller 的实例并通过推送或模型导航到它。您将在此函数中传递所有要传递到 Next 视图的信息

NextViewController.locationdetails= someLocationObject;

希望这很清楚。如果您的问题有所不同,请告诉我。

于 2013-08-02T21:53:01.347 回答