我要實現我的iOS應用條碼掃描器,我跟着這個教程,並集成到我的應用程序http://zbar.sourceforge.net/iphone/sdkdoc/tutorial.html
在條形碼掃描儀從UPC號碼獲取命名
我的應用程序掃描條形碼正確,掃描後,我得到一個UPC號碼如:843163043544
How can i get name of the product from this UPC number ?? is there any way in which i can find name of the product ?
在此先感謝。
我的應用只支持幾種類型不是全部,你告訴連接它到數據庫,但我應該連接到哪個數據庫? – Krunal
對於UPC代碼,請嘗試以下操作:http://upcdatabase.org/api。他們提供了一個易於使用的json API。 – dirkgroten
但請注意,如果您打算將其用於商業用途(例如在應用商店中銷售應用),則不存在任何免費API,您必須爲該服務付費。 – dirkgroten