I have followed the instructions on both these links:
How to play keyboard click sound in custom keyboard?
and done the following:
header:
@interface Key : UIView <UIInputViewAudioFeedback>
implementation:
- (BOOL) enableInputClicksWhenVisible {
return YES;
}
- (void)tapped:(UITapGestureRecognizer *)sender
{
[[UIDevice currentDevice] playInputClick];
[self.delegate keyHit:_title];
}
Yet it is still not working. What have I missed?