How do we disable the keyboard tap sound programatically? I am sure it's a setting in UItextfield.
Asked
Active
Viewed 1,414 times
0
-
1This is a user preference that IMHO you should not interfere with unless you have a very good reason. – Ole Begemann Jan 19 '10 at 16:23
2 Answers
0
The closest thing I was able to find is how to subclass particular views to disable sound:
Can I disable UIPickerView scroll sound?
I can't test this at work, but if it is possible, this may be related. UIKeyboard
is a class that you can't actually subclass though, nor even declare. You can find an actual reference to it though via the following method:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/6573-howto-customize-uikeyboard.html
Also, in the UIKeyboardImpl
header file, I do see the setSoundsEnabled
method:
http://ericasadun.com/iPhoneDocs/_u_i_keyboard_impl_8h-source.html