I am executing this code here
self.cloudSightQuery = [[CloudSightQuery alloc] initWithImage:imageData
atLocation:CGPointZero
withDelegate:self
atPlacemark:nil
withDeviceId:@""];
self.cloudSightQuery.queryDelegate = self;
[self.cloudSightQuery start];
However some times it crashes with the following reason
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ImageViewController cloudSightQueryDidFail:withError:]: unrecognized selector sent to instance 0x100514c40'
First throw call stack:
How am I able to capture this error and show the user a response as opposed to the app crashing?