Programmatically remove (or cover up) the Siri Dictation button on iPhone X

We have a custom keyboard extension. We need to programmatically remove the Siri Dictation button on iPhone X.


I know I can toggle it on/off in Settings -> General -> Keyboard -> Enable Dictation.


What I am looking for is a way to toggle it via Objective-C (or Swift) or cover it up.


Is there a way to do this?


Thanks,


Allen