0
for(int i=0;i<[btv_view.aray_cord count];i++)
{
    //dm.title=[appDelegate.lB objectAtIndex:i ];

    [mapView addAnnotation:[btv_view.aray_cord objectAtIndex:i]]; 

}

I have use above code for adding multiple pin annotation on map. Now i want add tiltle on each pin annotation. How do that?

iRam11
  • 309
  • 4
  • 16

1 Answers1

0

Try this:

for (MKPlacemark* annotations in mapView.annotations) {
    annotations.title = @"your title";
}
Saran
  • 6,274
  • 3
  • 39
  • 48