我需要在底部webview
中添加一个视图,因此我使用react-native-autoheight-webview
即可运行。
但是,如果在html中具有img
标签,我需要获取事件单击img
并且在使用react-native-autoheight-webview
时无法执行此操作,如果使用react-native-webview-bridge-updated
我可以将事件与{{ 1}},但是我不能在底部的webview中添加视图。
这是我的代码使用onBridgeMessage
react-native-autoheight-webview
请帮助我获取HTML中的事件单击img!非常感谢你!