clear_zero
clear_zero

Reputation: 55

Linea Pro SDK doesn't display barcode

I am using Linea Pro scanner to scan barcode. In my app, I have connected to the device, and start/stop scan.

However the barcodeData function doesn't seem to be triggered. it doesn't show anything in my label

-(void)barcodeData:(NSString *)barcode isotype:(NSString *)isotype
   {
    //display barcode
    self.lblbarcode.text=barcode;

   }

I took the advice from the following post

How do I use the Linea-Pro SDK for IOS?

Please help

Thanks very much

Upvotes: 1

Views: 229

Answers (1)

clear_zero
clear_zero

Reputation: 55

The function i use is wrong

-(void)barcodeData:(NSString *)barcode type:(int)type
  {
   //display barcode
   self.lblbarcode.text=barcode;

  }

is the correct one. Although the function in the original post is in the given example demo

Upvotes: 1

Related Questions