如何自定义 ionic 3 中的 "BarcodeScanner"

How to customize the "BarcodeScanner" in ionic 3

我在 ionic BarcodeScanner 库中存在的 ionic 3 中自定义(二维码扫描屏幕)的设计时遇到了问题。 我在自定义此屏幕、添加页眉、页脚和按钮方面需要帮助。 附件中有ionic中二维码扫描的设计截图和截图。

感谢你们的帮助。

您必须从

fork 原始插件

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

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

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