react-native - 打印功能在 ios 的 react-native webview 中不起作用
问题描述
我们在 react-native web-view 中使用的打印功能不起作用。它适用于chrome等浏览器,但不适用于web-view。单击打印按钮时,它不会执行其功能
<WebView ref={WEBVIEW_REF}
style={ styles.wview }
source={{ uri: url }}
style = {{marginTop:20}}
key={this.state.key}
onNavigationStateChange={this._onNavigationStateChange.bind(this)} startInLoadingState={true} />
解决方案
推荐阅读
- scala - 在 for 理解中混合 Future 和 F[]
- node.js - 连接到 MongoDb 在线数据库时出现问题
- reactjs - 如何在 React Native Webview 组件中使用 Reactjs 库
- javascript - 如何创建一个对象,其方法将调用传递给最终将实现它们的承诺?
- javascript - Javascript:向多个值对象添加键
- fpga - 如何使用 TDEST 复用 AXI 流?
- python - Pandas Dataframe Replace 不适用于子句
- installation - 处理多语言 MSI Installscript Installshield 安装程序问题
- wordpress - GCloud VM 实例,LetsEncrypt SSL - 2 个站点:一个主域,一个子域。为什么子域上的 SSL 会重定向到主域?
- java - bottomnav FindViewById 获取 null (kotlin)