Shazron Abdullah created CB-2384: ------------------------------------ Summary: 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.5.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