Allow developers to hide inputAccessoryView in WKWebView

Originator:craig
Number:rdar://19713503 Date Originated:04-Feb-2015 11:24 AM
Status:Open Resolved:
Product:iOS SDK Product Version:8.1
Classification:Enhancement Reproducible:Always
 
This is a duplicate of rdar://18183425

Summary:
It would be nice if you provided a convenient way for application developers to hide the inputAccessoryView when showing the keyboard inside of WKWebView. Ideally it would be a parameter inside of WKWebViewConfiguration.

Steps to Reproduce:
Paste this code into a blank view controller. Then tap anywhere inside of the div.

WKWebViewConfiguration *config = [WKWebViewConfiguration new];
WKWebView *webView = [[WKWebView alloc] initWithFrame:self.view.frame configuration:config];
[webView loadHTMLString:@"<div contenteditable=true style=\"height: 500px; width: 500px;\"></div>" baseURL:nil];
[self.view addSubview:webView];

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!