Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-11-2010, 10:21 AM   #29 (permalink)
nacho4d
Registered Member
 
Join Date: Feb 2009
Posts: 9
nacho4d is on a distinguished road
Default Playing system sound

Quote:
Originally Posted by slahteine View Post

Here are two handy methods that helped to get the proper behavior:

Code:
// Play the built-in keyboard click sound
- (void)playKeyboardClick {
  AudioServicesPlaySystemSound(0x450);
}
Is this working currently in 3.1 or above?
I knew the copy and paste stuff to handle the cursor in UITextField, but I found very interesting the sound trick!.
But is not working!!
How did you found 0x450?

I would like to play original keyboard sound

thanks
nacho4d is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,473
Threads: 94,038
Posts: 402,623
Top Poster: BrianSlick (7,978)
Welcome to our newest member, iram91417
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:16 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.