0
我如何在Xcode的mapview中創建註解數組?我試過 NSMutableArray * ann = [NSMutableArray alloc] init];地圖註釋數組
註釋
CLLocationcoordinate2D thecoordinate;
thecoordinate.latitude =92.3;
thecoordinate.longitude = 12.78;
MyAnnotationClass *ann = [MyAnnotationClass alloc];
region.coordinate = thecoordinate;
[mapview addannotation: ann];
我的這些我如何把它們放在一個數組57。
我可以在表中實現它查看標題以填充表格? – 2012-08-16 11:00:39
@JamesFrempong你可以在任何你想要的地方實現它。實際上tableViews通常從NSArray或NSMutableArray填充。 – 2012-08-16 11:03:29