Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NSbeep() on iPhone

Does NSBeep() 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.

like image 594
Dan Morgan Avatar asked Jan 05 '09 12:01

Dan Morgan


1 Answers

No, NSBeep() is part of the ApplicationKit framework which doesn't exist on the iPhone.

like image 112
Jason Coco Avatar answered Nov 06 '22 17:11

Jason Coco