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]]; 

}

上記のコードを使用して、マップに複数のピン注釈を追加しました。ここで、各ピンの注釈にチルトを追加したいと思います。どうやって?

4

1 に答える 1

0

これを試して:

for (MKPlacemark* annotations in mapView.annotations) {
    annotations.title = @"your title";
}
于 2011-08-31T11:16:13.007 に答える