[ 
https://issues.apache.org/jira/browse/CB-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-2384.
----------------------------------

    Resolution: Fixed

Fix commits:
1. http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/97b89edf
2. http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/14b72178
                
> Add new iOS Project Setting to suppress the form accessory bar above the 
> keyboard
> ---------------------------------------------------------------------------------
>
>                 Key: CB-2384
>                 URL: https://issues.apache.org/jira/browse/CB-2384
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> See: 
> http://stackoverflow.com/questions/7904892/remove-form-assistant-from-keyboard-in-iphone-standalone-web-app
> {code}
> [[NSNotificationCenter defaultCenter] addObserver:self 
> selector:@selector(keyboardDidShow:) name:UIKeyboardDidShowNotification 
> object:nil];
> {code}
> {code}
> -(void)keyboardDidShow:(NSNotification*)notif
> {
>     NSArray *array = [[UIApplication sharedApplication] windows];
>     for (UIWindow* wind in array) {
>         for (UIView* currView in wind.subviews) {
>             if ([[currView description] hasPrefix:@"<UIPeripheralHostView"]) {
>                 for (UIView* perView in currView.subviews) {
>                     if ([[perView description] 
> hasPrefix:@"<UIWebFormAccessory"]) {
>                         [perView setHidden:YES];
>                     }
>                 }
>             }
>         }
>     }
> }
> {code}
> Suggested name for the setting: *HideKeyboardFormAccessoryBar* with a default 
> of false

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to