While running my app the buttons are acting strange. Instead of click they react only on swipe. They do get blue on clicking, but no action occurs, and if i swipe them they act as they should. On emulator everything works as predicted by clicking. I haven't implemented any methods for swiping buttons or etc. What could be the problem ?
UPDATED :
forControlEvents:UIControlEventTouchUpInside];
[save addTarget:self action:@selector(saveInfo)
forControlEvents:UIControlEventTouchUpInside];
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]
initWithTarget:self
action:@selector(dismissKeyboard)];
[TableControll.view addGestureRecognizer:tap];
-(void)dismissKeyboard {
[[_textFields objectAtIndex:0] resignFirstResponder];
[[_textFields objectAtIndex:1] resignFirstResponder];
[[_textFields objectAtIndex:2] resignFirstResponder];
[[_textFields objectAtIndex:3] resignFirstResponder];
}
Without dismiss keyboard the buttons work fine, so how should i make them work together without issues ?