1

I need to decrease the height of the keyboard programatically. Is there any way I can do it? I have found that we can reduce height, using keyboard extensions but I tried and it doesn't work for me.

Is there any way I can do this?

Edit: But i can see small keyboards in some of the apps . How do they acheive it. enter image description here Thanks in advance.

1 Answers1

1

You cannot modify the frame or the look of the keyboard, since it works kind of like an overlay over your app and it's not a direct subview in the window where your app lives.

You can create a custom keyboard for this approach, but remember to follow the iOS Human Interface Guidelines.

You can also create a custom view that provides input (for e.g. a bunch UIButtons that append a letter to a UITextView if you press them).

Tamás Sengel
  • 55,884
  • 29
  • 169
  • 223