I'm trying to load AGSFeatureLayer on map view.
I'm able to show layer on map but its not showing Display Field which is there in feature layer.
Below is my sample code.
AGSFeatureLayer *fl = [AGSFeatureLayer featureServiceLayerWithURL:[weakSelf.userInfo objectForKey:@"structureURL"] mode:AGSFeatureLayerModeOnDemand];
NSLog(@"Display field: %@", fl.displayField);
structureLayer = fl;
I've tried to see Display field using NSLog but still it showing NULL.
Anyone know how we can show it?
Thank you in advance.