Does NBeep() exist on the iPhone? I just want to play a short error sound to indicate that the key pressed is not a legal character. I will play this in my textField delegate that dissalows the illegal characters.
This site is great btw!
Does NBeep() exist on the iPhone? I just want to play a short error sound to indicate that the key pressed is not a legal character. I will play this in my textField delegate that dissalows the illegal characters.
This site is great btw!
No, NSBeep() is part of the ApplicationKit framework which doesn't exist on the iPhone.
Cheers Jason. I'm using a uialertview instead of just ignoring the inputter. Any good alternatives? Are there any other error system sounds available?
I don't think error beeps as notification would be wise since people might often have their phones muted or earphones dangling.
Gah, I looked and looked and I cant find a basic stock system sound anywhere either, not even a beep.
Its annoying the api is not there, thats all.
(I'm writing a calibration routine that needs a beep, not an audio stream, only a simple beep. It will have a long uptime and may need error "beeps" to signal low battery or low remaining disk space, dont you have a simple error beep for me ?)
Where is there a large collection of sound files that can be used with the iPhone? I'm looking for a very small (<1k) file that plays a "key click" for <0.5 secs.
All the clips I find are HUGE and LONG.