I'm trying to build a custom keyboard for iOS 8 that a custom play sound when a key is pressed. I'm using a AVAudioPlayer
and small mp3-files.
This works fine in the simulator, but on a real device I don't get any sounds.
RequestOpenAccess
is enabled.
Please not that I'm not trying to play the default keyboard click sound, but a custom sound. Most existing questions seems to be about the default system sound.
edit: I've also tried using .caf and .aiff files and loading and playing them with SystemSoundID.