如何在离子3中自定义"BarcodeScanner"

Osa*_*rog 5 ionic-framework cordova-plugins ionic-native ionic3

我在离子3中存在离子BarcodeScanner库中定制(QR码扫描屏幕)设计的问题.我需要帮助自定义此屏幕,添加页眉,页脚和按钮.在附件中,有一个用于设计的屏幕截图和用于离子的QR码扫描的屏幕截图.

感谢你的帮助.

QR码扫描屏幕和我想要使用的设计

小智 0

您必须从以下位置 fork 原始插件

https://github.com/phonegap/phonegap-plugin-barcodescanner/blob/master/src/ios/scannerOverlay.xib

对于 IOS 或相应的 android,并使用 android 和 xml 修改相机覆盖层。参见示例:

https://github.com/EddyVerbruggen/nativescript-barcodescanner