1

This is my setting for WKWebView:

func setupWebView() -> WKWebView {
    let configutation = WKWebViewConfiguration()
    configutation.selectionGranularity = .Character
    
    let webView = WKWebView(frame: CGRect(x: 0, y: 20, width: UIScreen.mainScreen().bounds.size.width, height: UIScreen.mainScreen().bounds.size.height),
                              configuration: configutation)
    
    view.addSubview(webView)
    return webView
}

Then used lazy to get:

lazy var webView: WKWebView = self.setupWebView()

Both the same problem in Device or Simulator:

enter image description here

Setting the property to .Dynamic seem works well.

enter image description here

But I don't want the Selection style.

enter image description here

Does anyone know how to solve problem?

Thanks a lot!

Community
  • 1
  • 1
Arco
  • 614
  • 5
  • 13

1 Answers1

0

Known bug, you might want to report it once more to raise it's priority: http://www.openradar.me/23345435

Deniss Fedotovs
  • 1,384
  • 12
  • 22