What are the system sound identifiers for new keyboard clicks in iOS 10?

Are common
I am developing a third-party keyboard, and I'm currently trying to simulate the new keystrokes that Apple introduced in iOS 10b4.

Current situation
A normal click sound can be played using AudioServicesPlaySystemSound(1104) , but I cannot find the system sound identifiers for the two new sounds. I found the location of their .caf equivalents, but they are too loud to use, even after adjusting their volume using AVAudioPlayer .

Question
Can I get the sound identifiers of the system sounds of a new click?

Extra
If someone needs a path to the .caf file for personal use, here they are:

 /System/Library/Audio/UISounds/key_press_click.caf /System/Library/Audio/UISounds/key_press_delete.caf /System/Library/Audio/UISounds/key_press_modifier.caf 
+8
ios avaudioplayer audiotoolbox
source share
2 answers

iOS 10.0 - iOS 11.0 b5

Click Click - ID: 1123

Click Delete - ID: 1155

Click modifier - ID: 1156

Comment (1): The same identifiers work for iOS 11 beta 5

+10
source share

Implemented in the quick use of renaming (extends with the help of other native sound identifiers of the system):

import AudioToolbox

 enum SystemSound: UInt32 { case pressClick = 1123 case pressDelete = 1155 case pressModifier = 1156 func play() { AudioServicesPlaySystemSound(self.rawValue) } } 

and use like this:

 @IBAction func pressedDigit(sender : UIButton) { SystemSound.pressClick.play() } 
0
source share

All Articles