开发者

How to customize zbar sdk's UIImagePickerView?

开发者 https://www.devze.com 2023-04-12 09:53 出处:网络
Iam working on barcode reder app which reads barcode and display it\'s data using z开发者_StackOverflow中文版bar Sdk.

Iam working on barcode reder app which reads barcode and display it's data using z开发者_StackOverflow中文版bar Sdk.

Now client wants to customize the square bracket which appears when camera auto focus the barcode, my question is that is it possible to customize it,

Thanks

How to customize zbar sdk's UIImagePickerView?


It is possible to customize it, but it's not very documented. Afaik you only have APIs for setting its color and so on. If you want to do further customization, you'll need to re-implement that part yourself.

The code for the built-in tracking can be found here: http://zbar.hg.sourceforge.net/hgweb/zbar/zbar/file/443c9f0e3c8f/iphone


This will disable the autofocus property in zbar sdk reader.tracksSymbols=FALSE;

0

精彩评论

暂无评论...
验证码 换一张
取 消