views:

123

answers:

2

Hey guys,

Does any of you know what event I can tap into on the DatePicker when the wheel moves.

I want to play a sound (got sound code) as the wheel spin. Just like the timer set picker in Apple's clock app.

All that is there is a single event for ValueChanges which only fires once, at the end of a wheel spin.

Thanks in advance

+1  A: 

I'm not sure this is possible, as the sounds seem to be linked to the Keyboard Clicks in the phone settings. Maybe someone else has a solution, but it doesn't seem to be documented anywhere.

countermind
+1  A: 

There is an undocumented method for doing this: Disable UIPickerView sound

#import <UIKit/UIKit.h>

@interface SilentUIPickerView: UIPickerView
{ }

- (void) setSoundsEnabled: (BOOL) enabled;
@end

use this subclass and call [view setSoundsEnabled: NO]

Cirrostratus