Adding an accessory view button to the MKMapView call out annotation?

后端 未结 3 2303
既然无缘
既然无缘 2021-02-14 15:37

I\'ve recently come across this website and I\'ve been trying to add to my call out view a button (from a image).

The code on the websites example works just fine, but w

3条回答
  •  萌比男神i
    2021-02-14 16:01

    That guy is using a custom image to imitate the detail disclosure. You can actually get the standard detail disclosure quite easily:

    [UIButton buttonWithType:UIButtonTypeDetailDisclosure];
    

提交回复
热议问题