Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在地图上有几个注释图钉。我想通过触发的 showCallout 在默认引脚之一上显示信息我知道如何通过点击来实现,但如果不点击注释我不知道,它怎么能显示 showCallout?提前致谢
你有没有试过这个:
id<MKAnnotation> myPin = [mapView.annotations objectAtIndex:0]; [mapView selectAnnotation:myPin animated:YES];