You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2013/03/02 00:11:15 UTC
[jira] [Updated] (CB-2384) Add new iOS Project Setting to suppress
the form accessory bar above the keyboard
[ https://issues.apache.org/jira/browse/CB-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj updated CB-2384:
--------------------------
Fix Version/s: (was: 2.5.0)
2.6.0
> 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