Please try this.And make sure you set the MKMapViewDelegate to that class.
- (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view
{
if([view isKindOfClass:[myCustomAnnotaionClass class]])
{
//your programming logic here
}
}