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.
当我们按下按钮扫描二维码时,默认有取消,信息按钮。
我需要另一个 flash 上的按钮。那么我如何在 zbaerviewcontroller 中进行更改以对其进行自定义。
虽然设置showZBarControls = NO会删除整个栏,但我需要一些可以删除取消按钮的东西。最好的方法是删除ZbarControls并创建一个新的工具栏并覆盖它。
showZBarControls = NO
希望对你有帮助:)
您可以通过设置属性删除取消按钮showsZBarControls = NO;
showsZBarControls = NO;
请参考以下链接,
iOS6.0及以上的ZBar条码阅读器如何隐藏信息按钮
ZBar SDK iOS:删除扫描仪视图中的取消按钮?