When I init a AGSGDBFeatureServiceTable and call the loadCompletion block, inside the block when I print out the number of features sometimes I get the right number and sometimes I get zero.
AGSGDBFeatureServiceTable.loaded is YES.
Any ideas?
Code:
self.fServiceTable = [[AGSGDBFeatureServiceTable alloc] initWithServiceURL:url credential:self.credential
spacialReference:self.mapView.spatialRefernece];
self.fServiceTable.loadCompletion = ^(NSError *error) {
NSLog(@Count = %lu, (unsigned long)weakSelf.fServiceTable.featureCount);
};