Can I disable UIPickerView scroll sound?

后端 未结 8 1466
臣服心动
臣服心动 2020-11-30 10:16

I want to disable the annoying clicks that the UIPickerView generates upon scrolling up and down. Is there a way to do this? I want to play short sounds for each item that t

相关标签:
8条回答
  • 2020-11-30 11:13

    they have just rejected an app of mine because the use of undocumented api's...thats one of them.

    0 讨论(0)
  • 2020-11-30 11:13

    Maybe this not the answer for this particular question, but I had a similar problem - set minimumDate for datePicker, and I wanted set it without annoying "click" sound. After some time found very simple solution:

    datePickerCustomTime.minimumDate = [[NSDate date] dateByAddingTimeInterval:300]// min time to set = now + 5 min
      [datePickerCustomTime setDate:[[NSDate date] dateByAddingTimeInterval:300] animated:NO];
    
    0 讨论(0)
提交回复
热议问题