This tutorial will quickly get you up and running with the ZBar iPhone SDK. ... in the code; open ReaderSampleViewController.h and change the interface to:.
zbar.sourceforge.net