New to objective c, and I am using ArcGIS for the map portion. I have a problem where the method mapViewDidLoad
is not called/loaded. Here is some part of the code:
Just add self.mapView.delegate = self;
in viewDidLoad
make sure that mapviewdelegate is connected by right click on mapview and then assign delegate..
or add [self.mapview setDelegate:self];
in your case "AGSMapView" mapViewDidLoad: method on AGSMapViewLayerDelegate is invoked after the first layer has been added to the map. At this point, the component is fully functional you can find reference to it in http://help.arcgis.com/en/arcgismobile/10.0/apis/iphone/reference/interface_a_g_s_map_view.html
make self.mapview.layerDelegate = self;