I'm also having a problem with the findTaskDelegate not being triggered, I've got the view controller set to be the delegate.Setting up the findTask:
[[self.findTask alloc] initWithURL:self.dynamicLayersURL];
self.findTask.delegate = self;
Executing it:
- (void)searchBarSearchButtonClicked:(UISearchBar *)theSearchBar
{
// Get find parameters
AGSFindParameters *findParam = [[AGSFindParameters alloc] init];
findParam.contains = YES;
findParam.layerIds = findLyrIds;
findParam.returnGeometry = NO;
findParam.searchFields = findFields;
findParam.searchText = theSearchBar.text;
// Execute the find task
[self.findTask executeWithParameters:findParam];
}
It never sets off didExecuteWithFindResults or didFailWithError, Any ideas?