I'm trying to catch the case where, let's say the Feature Service is not available or turned off.
This happens ....
NSURL* fURL = [NSURL URLWithString: featureLayerURL];
self.activeFeatureLayer = [AGSFeatureLayer featureServiceLayerWithURL:fURL mode: AGSFeatureLayerModeOnDemand];
Then - right here - I want to see if the activeFeatureLayer is valid.
I can only use the self.activeFeatureLayer.loaded property AFTER the didLoadLayerForLayerView delegate fires.
I can test this for a MapService layer, but testing to see if the AGSMapServiceInfo.layerInfos count is > 0, BEFORE I self.mapView.addMapLayer (AGSDynamicMapServiceLayer)
I'd like to do the same thing for the Feature Service - but it doesn't appear to have any properties populated after these two commands are run.
NSURL* fURL = [NSURL URLWithString: featureLayerURL];
self.activeFeatureLayer = [AGSFeatureLayer featureServiceLayerWithURL:fURL mode: AGSFeatureLayerModeOnDemand];