iOS 7.1 UITapGesture no funciona con UIPickerView

Estamos usando unUIPickerView para permitir que un usuario seleccione de una lista de opciones. Estamos agregandoUIPickerView como una subvista de un contenedor UIView. Luego estamos agregando un UITapGestureRecognizer al contenedorUIView. losUITapGestureRecognizer se está utilizando para descartar el selector mediante la eliminación de su super vista.

En iOS 7.0 y versiones anteriores, esto funcionaba como se esperaba. Sin embargo, en iOS 7.1 esta configuración ya no funciona en el sentido de queUITapGestureRecognizer no reconoce el toque y llama al selector especificado en la acción (descartando la vista del selector y la vista del contenedor). el código está debajo

   - (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    self.nameList=[[NSMutableArray alloc] initWithObjects:@"A",@"B",@"C", nil];
    UIPickerView *myPickerView = [[UIPickerView alloc] initWithFrame:CGRectMake(0, 200, 320, 200)];
    myPickerView.delegate = self;
    myPickerView.showsSelectionIndicator = YES;
    UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapInListPickerView:)];
    [singleTap setNumberOfTapsRequired:1];
    [singleTap setNumberOfTouchesRequired:1];
    [myPickerView addGestureRecognizer:singleTap];
    [self.view addSubview:myPickerView];
}

-(void)tapInListPickerView:(UIGestureRecognizer *)sender

{
    NSLog(@"Taped in pikcer view");
}

Si necesita otra información o si hay un método más preferido para hacerlo, hágamelo saber.

Respuestas a la pregunta(5)

Su respuesta a la pregunta