Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c Linea Pro SDK不支持';不显示条形码_Objective C_Linea Pro - Fatal编程技术网

Objective c Linea Pro SDK不支持';不显示条形码

Objective c Linea Pro SDK不支持';不显示条形码,objective-c,linea-pro,Objective C,Linea Pro,我正在使用Linea Pro扫描仪扫描条形码。在我的应用程序中,我已连接到设备,并启动/停止扫描 但是,条形码数据函数似乎没有被触发。我的标签上什么都没有 -(void)barcodeData:(NSString *)barcode isotype:(NSString *)isotype { //display barcode self.lblbarcode.text=barcode; } 我接受了以下帖子的建议 请帮忙 非常感谢我使用的函数是错误的 -(voi

我正在使用Linea Pro扫描仪扫描条形码。在我的应用程序中,我已连接到设备,并启动/停止扫描

但是,条形码数据函数似乎没有被触发。我的标签上什么都没有

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

   }
我接受了以下帖子的建议

请帮忙


非常感谢

我使用的函数是错误的

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

  }
是正确的。虽然原始帖子中的函数在给定的示例演示中

您说它“似乎没有被触发”。是不是?在方法中放置一个断点,看看是否调用了它。