Quote:
Originally Posted by DrJones
Hi, i see in a lot off apps, that in the settings there is a UISwitch. When you turn that on and off the sound effects stops and starts.
In my application every time the user touches a button it will play a little click sound. Is there a way to turn of all off the sounds within a settings modal viewcontroller that uses a UISwitch?
- Jonas 
|
Of course it's possible.
Our app "Kevin & Kell" does exactly what you describe. The buttons in the user interface make a subtle click sound when you touch them. You can turn them off with a preference in our app's preferences screen. (We use an an-app preferences screen rather than the settings app, although that would work too.)
We have a UISwitch that changes a setting in user defaults.
Anywhere in our app that would play a button touch sound, we check the user default, and skip the sound play of the user default setting is set for no button sounds.