Hi, I am new to this iOS programming. I have worked with some applications without map. They works fine. But I just started adding a map layer from ArcGISServerOnline following their examples. But my application in the simulator 4.2 crashes with the message "Program received signal SIGABRT" (on debugging) when executing the line marked red below:
- (void)viewDidLoad { // ----- US highways from ESRI NSURL *url = [NSURL URLWithString: @"http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapSe..."]; //It crashes on executing the line below AGSDynamicMapServiceLayer *highwayLayer = [AGSDynamicMapServiceLayer dynamicMapServiceLayerWithURL: url]; [self.mapView addMapLayer:highwayLayer withName:@"US Highways"]; [super viewDidLoad]; }
I will really appreciate if somebody figures out the problem