Disable Dictation button on the keyboard of iPhone 4S / new iPad

前端 未结 5 2115
说谎
说谎 2020-11-29 02:44

Ours is a health care app. We have a HIPAA-compliant speech recognizer in the app through which all the dictation can take place. The hospitals don\'t want physicians to acc

5条回答
  •  余生分开走
    2020-11-29 03:05

    you can create your own keyboard and set the inputView for the text fields that will accept this dictation. then when they press any keys they will get your keyboard, therefore you dont have to override the keys on the standard keyboard, you will be able to customize the entire thing.

    self.myButton.inputView = self.customKeyboardView;
    

    here is an example of an extremely custom keyboard

    http://blog.carbonfive.com/2012/03/12/customizing-the-ios-keyboard/

    Ray also has a teriffic tutorial on custom keyboards.

    http://www.raywenderlich.com/1063/ipad-for-iphone-developers-101-custom-input-view-tutorial

    I hope that helps.

提交回复
热议问题