使用Xamarin的IOS条码应用程序

时间:2016-06-30 17:50:16

标签: ios xamarin

我正在使用Xamarin为IOS编写我的第一个移动应用程序,我需要使用相机扫描类似于许多购物应用程序功能的产品条形码。你们中的任何一个可爱的人都知道我是怎么做的,或者是否有插件?

由于

史蒂夫

1 个答案:

答案 0 :(得分:1)

在大多数情况下,我发现ZXing Mobile是阅读条形码的最佳选择。

语法非常友好:

var oops=null;//assign a value of null to the variable oops
console.log(Boolean(oops));//false
console.log(oops!=null);//false
console.log(oops==undefined);//true (== has type conversion baked in)
console.log(oops===undefined);//false (=== does not type conversion, and the types must be the same to be equal. typeOf(undefined)!==typeOf(null))
console.log(angular.isDefined(oops));//true (defined, but assigned a value of null)
console.log(angular.isDefined(oopsy));//false

if (oops){ //evaluates to falsey
//never hit
} else {
//will be hit
}

来源和更多信息:https://components.xamarin.com/view/zxing.net.mobile