当相机开始扫描二维码时,有一个文本显示“将条形码放入盒子中进行扫描”。我想将该文本更改为“将条形码/二维码放入框中以进行扫描”。从哪里可以在 iOS 中更改它。我正在使用 ZXing 库来扫描二维码。

OverlayView.m在导入的ZXingWidget.project/Classes文件夹中找到。在drawRect方法中,您将看到文本"Place a barcode ..."。只需将其更改为您想要的任何内容。
I got the text in Overlay.m file and edited these two lines (line no. 147 & 148)
char *text = "Place a QRcode inside the";
char *text2 = "viewfinder rectangle to scan it.";
在 ZXing 文件夹中尝试查找 .en 语言环境的 Localizable.strings 文件,有一堆字符串可以更新。