求教,能否使用RN的webview载入web页面后,通过 input:file 表单组件访问设备的本地相册,看到android或ios的原生都需要在类中编写相应的webview事件,RN呢...
求教,能否使用RN的webview载入web页面后,通过 input:file 表单组件访问设备的本地相册,看到android或ios的原生都需要在类中编写相应的webview事件,RN呢...
3 回答2.2k 阅读✓ 已解决
1 回答1.1k 阅读✓ 已解决
4 回答960 阅读
1 回答796 阅读✓ 已解决
1 回答753 阅读✓ 已解决
1 回答817 阅读
1 回答987 阅读
rn的webview中使用
<input type="file" accept="image/*"/>
弹出的就是相册或拍照。如果你要实现更复杂的操作的话,就在webview的postMessage里写逻辑就可以了。