1

i have only one class for the annotation ..

for one reason, the annotation show only the title, and it have different pinColor and i did that very well by declaring a method in annotation class ..

but i want to hide the disclosure button for the same reason ..

i only know that the rightCalloutAccessoryView can be declared with viewForAnnotation method in my mapview class

So what can i do? how to change the view for the callout by hiding the disclosure button ?

miss h
  • 133
  • 1
  • 2
  • 15

1 Answers1

1

back, i solved it!

i write an if statement .. to check the title for the annotation ..

based on this solution ..here is it

Community
  • 1
  • 1
miss h
  • 133
  • 1
  • 2
  • 15