how to create a findtaskparameters

Discussion created by bleum on Jul 17, 2010
Latest reply on Nov 12, 2010 by tdhs
self.findParameters = [[AGSFindParameters alloc] init];

self.findParameters.contains = YES;
self.findParameters.layerIds = [NSArray arrayWithObjects:[NSNumber numberWithInt:8],nil];
self.findParameters.searchFields = [NSArray arrayWithObjects:@"OWNER_NAME",nil];
self.findParameters.searchText = @"cline";
self.findParameters.returnGeometry = YES;
self.findParameters.outSpatialReference = self.mapView.spatialReference;

I create it like this, but it can't work.
the findtask is below:
self.findTask = [AGSFindTask findTaskWithURL:[NSURL]];

it can't not execute the delegate protocol
Is there any problem?