Is there a way to disable undocking of the keyboard?
This is a new iPad iOS 5 only feature and you can't disable it.
Programmatically move or activate split keyboard on iPad (ios5)
I don't think it's possible. Reference: iOS 5: Any way to prevent keyboard splitting?
Although, it is possible to turn it off on YOUR device. Check out this post: Turn Off & disable Split keyboard feature on iPad.
How can I change the keyboard frame in response to a scroll event like the SMS application in iOS5?
You could do this with a UIPanGestureRecognizer. Then you can try to grab the UIWindow containing the keyboard. Since the keyboard is presented in a UIWindow, you should be able to cycle through the windows in your app and find the keyboard window. I'm not sure if you'll be able to modify it's bounds though. Worth a shot!
Looks like someone else tried this:
https://github.com/orta/iMessage-Style-Receding-Keyboard
Here is the SO post:
iMessage Style Receding Keyboard in an iOS App
iPad split-keyboard
No clear method haven't.
i resolve this trouble in next steps:
- Get current orientation.
- If orientation is Landscape then i get height of UIKeyboardFrameEndUserInfoKey. it must equals to 216. It means keyboard is Split mode, Else not;
- If orientation is Portrait then i get height of UIKeyboardFrameEndUserInfoKey. it must equals to 216. It means keyboard is Split mode, Else not;
I update my gist for example. With convertRect method.
Related Topics
Delete Cell from Uicollectionview Without Reloading from Top
Uitableview Not Visible the Last Cell When Scroll Down
How to Implement Uitableview's Swipe to Delete for Uicollectionview
Customize Navigation Bar with Title View
Communicating With/Opening Containing App from Share Extension
Change Uifont in Secure Uitextfield Strange Behaviour in iOS7
External Framework File/File.H (Parse/Parse.H) File Not Found
How to Have a Uiscrollview Scroll and Have a Gesture Recognizer
How to Generate All Possible Combinations
How to Set the Cornerradius of a Uistackview
Coreanimation - Opacity Fade in and Out Animation Not Working
How to Write Keyboard Notifications in Swift 3
Move Xcode Project Causes Red Text (Missing Files from Project)
How to Pass Data to Another Controller on Dismiss Viewcontroller
Ios6 Simulator Mkmapkit "Couldn't Find Default.Styleproto in Framework"
Add Inverted Circle Overlay to Map View
Share Image with Hashtag via Uiactivityviewcontroller (Twitter, Facebook, Instagram)