Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I set the iPad keyboard to dock type/undocked type/split type via code?

From the device settings a user can set keyboard to dock type or split type.

For the convenience of our app can we set the iPad keyboard to dock type/ split type via code? Because sometimes a split type keyboard/undocked keyboard will be best suited for our ui. I searched a lot for any clue, but I didn't got a solution for this.

like image 422
Augustine Avatar asked Apr 03 '13 09:04

Augustine


People also ask

How do I dock my split keyboard?

Touch and hold the keyboard button in the lower-right corner of the keyboard. Slide your finger up to either Merge or Dock and Merge, then let go.

How do you make your iPad keyboard split?

If you like to type while holding the iPad, simply press on the virtual keyboard with both thumbs and drag to each side of the tablet. You'll then see the keyboard split into two, grouping the left and right portions of the keyboard together near the corner of the screen.

How do I move the undocked keyboard on my iPad?

On the keyboard, long-press the Keyboard icon in the lower-right corner of the screen. Choose Undock. Press down anywhere on the keyboard and drag it up or down to the position of your preference.


1 Answers

No, you do not have control over the keyboard. Your iPad app should work OK with split keyboard, docked keyboard, and hardware keyboard. Your best bet is to listen to UIKeyboardWillChangeFrameNotification and change your UI to avoid being hidden under the keyboard frame.

like image 127
Sam Grossberg Avatar answered Nov 06 '22 17:11

Sam Grossberg