This is what worked for me
in your viewController viewDidLoad method
UITapGestureRecognizer *tapScroll = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(tapped)]; tapScroll.cancelsTouchesInView = NO; [viewScroller addGestureRecognizer:tapScroll];
where viewScroller is your scroller. In the tapping method we have
- (void) tapped { [self.view endEditing:YES]; }
I donβt know why, but the above did not help me ... although it should
Groot
source share