Is it possible to disable bottom toolbar on iPhone keyboard programatically?

I need to open a pure keyboard without smart prompts at the top, emoji, or mic icon at the bottom.

The default keyboard state is:

as you can see there are smart prompts at the top and other buttons at the bottom.

After the keyboardType was changed to textView.keyboardType = .asciiCapable it looks like this

much better, but still there is a mic button at the bottom, and looks like there is no way to hide it.

Is there a way?

You can remove in settings :

https://osxdaily.com/2019/03/12/remove-microphone-button-keyboard-ios/

Or you can design a custom keyboard.

I don't think it is possible to remove the mike button programmatically:

https://stackoverflow.com/questions/45768368/swift-ios-remove-microphone-key-from-keyboard-in-code

Is it possible to disable bottom toolbar on iPhone keyboard programatically?
 
 
Q