self.identifyParams.layerIds = [NSArray arrayWithObjects:[NSNumber numberWithInt:0], nil];
self.identifyParams.layerIds = [NSArray arrayWithObjects:[NSNumber numberWithInt:0], [NSNumber numberWithInt:1], [NSNumber numberWithInt:2], nil];
Solved! Go to Solution.
AGSIdentifyResult *layer0Results = [results objectAtIndex:0]; AGSIdentifyResult *layer1Results = [results objectAtIndex:1]; AGSIdentifyResult *layer2Results = [results objectAtIndex:2];
NSString *prop_city = [layer2Results.feature.attributes objectForKey:@"City"]; NSString *prop_state = [layer2Results.feature.attributes objectForKey:@"State"]; NSString *prop_zip = [layer2Results.feature.attributes objectForKey:@"Zip"];