WKWebView constrains issue when keyboard pops up

后端 未结 3 1954
终归单人心
终归单人心 2020-12-30 02:34

When an input in WKWebView gets focused a constraints error pops up.

Code:

class ViewController: UIViewController {
          


        
3条回答
  •  轮回少年
    2020-12-30 03:24

    Having the same issue. I'm running a clean project, vanilla setup and this issue comes up as soon as the webview keyboard gets focus. It seems to be a common issue, might just be a bug in iOS 11.

    Also see:

    WKWebView LayoutConstraints issue

提交回复
热议问题