ZBar SDK iOS:删除扫描仪视图中的取消按钮? [英] ZBar SDK iOS: Remove cancel button in scanner view?

查看:108
本文介绍了ZBar SDK iOS:删除扫描仪视图中的取消按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以删除初始扫描视图中的取消按钮?我已将我的App设置为立即可以进入扫描仪,因此无需取消.

Is there a way to remove the cancel button in the initial scan view? I have my App set to go immediately to scanner, so the cancel is unnecessary.

推荐答案

找到了它.设置showZBarControls = NO会删除整个栏,而我需要的只是删除取消按钮.最好的方法是删除ZbarControls并创建一个新的工具栏并将其覆盖.

Found it. While setting showZBarControls = NO removes the entire bar, I needed something that would just remove the cancel button. The best way to do this was to remove the ZbarControls and create a new toolbar and overlay it.

这篇关于ZBar SDK iOS:删除扫描仪视图中的取消按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆