search

Home  >  Q&A  >  body text

objective-c - js calls a native control when using wkwebview

When wkwebview loads a page, there is a p popup layer in the page. When the pop-up layer is displayed, a native control of the mobile phone is called. But after looking at the source code, I think the code of the native control is not called, but now when the need arises, the pop-up of the native control is blocked, and what is needed is the pop-up layer of the web page. Print After a while, what was called was a UICompatibilityInputViewController control. There is a done button on the control, the type is UIToolbarTextButton
[1]action:_sendAction:withEvent:
[2]target:<UIBarButtonItem: 0x10067c3f0>
[3]event:6174944256

高洛峰高洛峰2794 days ago750

reply all(0)I'll reply

No reply
  • Cancelreply