开发者社区> 问答> 正文

phonegap2.9 启动 barcodescanner ios

我运用phonegap在ios那边调用barcodescanner,达到二维码扫描的功能.

但是我是全部都设置好了,却还是无法启动,后来是barcodescanner这个js文件我是换了又换才勉强启动了

但是这个换好了的文件还是会有问题,虽然启动了,所以想说请各位指教下,哪里的问题.

上代码:

(这是现在用的)
screenshot
screenshot
screenshot
screenshot
screenshot
screenshot
screenshot

展开
收起
杨冬芳 2016-06-29 10:39:26 1966 0
1 条回答
写回答
取消 提交回答
  • IT从业

    输出这些信息:

    DEPRECATION NOTICE: The Connection ReachableViaWWAN return value of '2g' is deprecated as of Cordova version 2.6.0 and will be changed to 'cellular' in a future release.


    WARNING: -[ isOrientationSupported] is deprecated. Please use AVCaptureConnection's -isVideoOrientationSupported


    WARNING: -[ setOrientation:] is deprecated. Please use AVCaptureConnection's -setVideoOrientation:

    2019-07-17 19:48:51
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
手淘iOS性能优化探索 立即下载
From Java/Android to Swift iOS 立即下载
深入剖析iOS性能优化 立即下载