[TIMOB-7724] iOS: the ability to get the cords for the top of the keyboard when it changes
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-05-24T11:09:49.000+0000 |
Affected Version/s | Release 1.8.2 |
Fix Version/s | Release 2.1.0, Sprint 2012-11 API |
Components | iOS |
Labels | api, qe-testadded |
Reporter | Jon Alter |
Assignee | Sabil Rahim |
Created | 2012-02-21T14:07:29.000+0000 |
Updated | 2012-06-08T12:33:14.000+0000 |
Description
One should be able to know or detect the height/top of the keyboard. When keyboard is switched between different languages, one should know the height of the keyboard.
Requesting that we be able to get the coordinates of the top of the keyboard. This is especially important for the iPad. As of iOS 5 you can un-doc the keyboard from the bottom as well as move the keyboard up and down. So simply knowing the height of the keyboard will not help. It would be best if we could have an eventListener so that you can know when the keyboard is moved. It would also be helpful if we could tell if the keyboard was split or not.
I would like to submit a pull request for this, but I need to know if what I have is correct, syntax as well as code standards This is the notification in AppModule.m
And this is the event:
The Javascript would be something like this:
Testing Code
Pull merged
Tested with iPad 3 5.1.1 and iPhone 3gs 4.3