2011-09-27 216 views
1

我一直在研究製作一個iOS應用程序,它使用相機拍攝條形碼(例如代碼39)並正確讀取它們。用於MonoTouch的條形碼掃描儀?

只是看着幾個庫,不知道是否有任何工作,但他們都使用iOS的Objective-C。

想到也許我應該問一下,在MonoTouch中是否有解決方案,因爲這是我想如何製作iOS應用程序?

回答

2

下面是另一個由Redth:

https://github.com/Redth/ZXing.Net.Mobile

他的例子的使用:

var scanner = new ZXing.Mobile.MobileBarcodeScanner(); 
scanner.Scan().ContinueWith((result) => { 
    if (result != null) 
    Console.WriteLine("Scanned Barcode: " + result.Text); 
});