Hi,
When your app crashes on the simulator without any error messages , this means that you are over releasing an object or you are calling a function or variable on a deallocated instance.
When you are going through such a scenario , do this
1) On Xcode top bar click on Project - > Edit Active Executable
2) Now you will get a window with two textboxes , the second textbox name is "Variables to be set in the environment"
3) Click on "+" button below , now you will have to add a new field
4) Now type the name entry as NSZombieEnabled and put its value as YES , ensure this entry is ticked
5) Clean your project and build, just before crash you will the object which is getting deallocated.
if u cant follow the above instructions just search for NSZombieEnabled in google 😛
I have not worked with identity results , but i can say that your graphics object whose reference u stored may be getting released.
Do something like this
AGSSymbol* symbol = [AGSSimpleMarkerSymbol simpleMarkerSymbol];
symbol.color = [UIColor colorWithRed:0 green:0 blue:1 alpha:0.5];
for (AGSIdentifyResult* result in results) {
result.feature.symbol = symbol;
result.feature.infoTemplate = wellTemplate;
[self.graphicsLayer addGraphic:result.feature];
featureDetailViewController.feature = result.feature ; // try adding this statement in here
}
[self.graphicsLayer dataChanged];
Get back to me if u have any problems
Regards,
Harikant Jammi