ios-device-lib:允许与iOS设备进行交互

时间:2021-04-01 00:40:03
【文件属性】:
文件名称:ios-device-lib:允许与iOS设备进行交互
文件大小:613KB
文件格式:ZIP
更新时间:2021-04-01 00:40:03
C++ ios设备库 JavaScript库,旨在促进与iOS设备的通信。 该库的界面基于Promise。 快速概述 为了使用ios-device-lib ,只需执行以下命令即可在package.json中添加对它的引用 $ npm install --save --save-exact ios-device-lib 在您的项目中。 现在您可以在项目中使用ios-device-lib了: const DeviceLib = require ( "ios-device-lib" ) ; const dl = new DeviceLib . IOSDeviceLib ( device => { console . log ( "Device FOUND!" , device ) ; dl . install ( "./app.ipa" , [ device . deviceId ] ) .

网友评论