I need to decode an QR image using the zxing library for iOS.
I’m new to iOS programming, and have been looking through the code examples included in the project, but I can’t figure out how to just decode an image using this library.
If anyone can please post examples of how I decode an image it would be much appreciated.
So far I’ve identified the Decoder class, which has a method called “decodeImage” which I’ve loaded with an image. But this method returns a boolean, and what I need is a text string containing the value of the QR code.
Thanks in advance!
This was the code that finally solved my problem – thanks to the help from smparkes
HEADER FILE
IMPLEMENTATION FILE