gpt4 book ai didi

ios - showCallout 无需点击 -iOS

转载 作者:行者123 更新时间:2023-11-29 13:26:52 26 4
gpt4 key购买 nike

我在 map 上有几个注释图钉。我想通过触发的 showCallout 在默认引脚之一上显示信息 我知道如何通过点击实现,但我不知道如果不点击注释,它如何显示 showCallout?提前致谢

最佳答案

你试过这个吗:

id<MKAnnotation> myPin = [mapView.annotations objectAtIndex:0];
[mapView selectAnnotation:myPin animated:YES];

关于ios - showCallout 无需点击 -iOS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12906655/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com