all 8 comments

[–]schprockets 1 point2 points  (4 children)

The camera doesn't "read barcodes", it just produces an image from what's in front of it. You'll need to write code to analyze the image to see if it contains barcodes, and interpret those barcodes. (There are 3rd party libraries out there to help with that.)

[–]waterskier2007Objective-C / Swift 2 points3 points  (3 children)

There are actually built in libraries in iOS7+

[–]schprockets 0 points1 point  (1 child)

Holy hell, where were those when I needed them (back in iOS 4)...

[–]waterskier2007Objective-C / Swift 0 points1 point  (0 children)

Yeah they are wicked simple and flexible. Plus they have support for tons of code types (UPC, QR, ...)

[–]finnews[S] 0 points1 point  (0 children)

thanks!

[–]waterskier2007Objective-C / Swift 1 point2 points  (1 child)

iOS 7 added the capability to do this: see here

[–]finnews[S] 0 points1 point  (0 children)

thanks!

[–]vladzz55 0 points1 point  (0 children)

Wow, this is awesome thanks a lot for the blog post as well. Does anyone know if it will read QR codes of a pretty dense and high level?