Why INSPECT ELEMENT or WEB INSPECTOR or developerExtrasEnabled (WkWebView) is not working in iOS While its working for OSX

后端 未结 1 678
花落未央
花落未央 2021-01-16 13:19

Here is the code snippet that facilitates the INSPECT ELEMENT in WkWebView

preferences.setValue(true, forKey:\"developerExtrasEnabled\")

He

1条回答
  •  广开言路
    2021-01-16 13:39

    Its not possible to do in iOS as WKPreference is not key value coding-compliant for the key developerExtrasEnabled so we can't do this using this approach.

    0 讨论(0)
提交回复
热议问题