Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
大约 15 秒后,BarCodePickerController 的实时预览会变黑,但设备仍会扫描。是什么导致屏幕变黑但仍允许设备扫描?
这发生在 iPad 和 iPhone 上
这是由同一个 BarCodePickerController 的 2 个实例引起的。我最近遇到了一个客户遇到的这个问题,并向他们诊断了这个问题,将 BarCodePickerController 添加为 subView 两次。相机将工作约 15 秒,然后在阅读器仍在工作时变黑。希望这可以帮助其他偶然发现它的人。