Barcode for iPhone > Generate Barcode in iPhone

iPhone BarCode Generator SDK Tutorial

  • Create iPhone barcode generator app using the iPhone barcode generator API
  • Implement various linear and 2D barcode image processing library in Objective-C
  • Compatible with iOS 3.2 and above versions, including iOS 6 with the iPhone barcode SDK
  • Generate barcode images in iOS app on iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS, etc
  • Compatible with Mac OS X 10.6 and higher versions
  • Royalty free for redistributing the iPhone barcode API within other iOS applications
Barcode Class Library for iPhone Overview
This iPhone barcode image generator library is completely built in Objective-C and can be easily implemented in Objective-C and generate barcodes in image formats. No barcode fonts and encoders are required. However, KeepAutomation provides several iPhone barcode integration solutions, including the barcode font and encoder for iPhone.
Related Mobile Barcode Components and Tutorial Links
The following are links of barcode generator class library and tutorials that add barcode generation functionality to applications running on mobile devices, including Android, Windows Phone, and iOS. These barcode components support most popular barcode symbologies, such as Code 39, Code 128, EAN/UPC, and QR Code etc.
Integrating the Barcode SDK into iPhone Projects
  1. Download the Barcode Class Library for iPhone package and extract all files from it. A sample is available for testing the iPhone barcode generator SDK
  2. Copy the folder named KeepAutomationiPhoneClient under the folder iPhoneBarcodeClient to your Mac
  3. Open the sample project by clicking the file KeepAutomationiPhoneClient.xcodeproj
  4. In Xcode, click the Menu Project, and choose the item Edit Project Settings
  5. Set Base SDK to your own SDK. Here we will use SDK 3.1.2 to build the sample of iPhone barcode project
  6. Switch to Targets, right-click KeepAutomationiPhoneClient, and choose Get Info
  7. In Build tab, set "Header Search Paths" to "sample project path/KeepAutomationiPhoneClient/${BUILD_STYLE}-${PLATFORM_NAME}/usr/local/include".
  8. Run the sample of iPhone barcode project. In simulator, view the sample chart by clicking the "Display Barcode" button
Methods for Creating Custom iPhone Barcode Generator
  • Symbology: this property is used for create a specific barcode type. If users are not sure which barcode type is to be used, refer to the barcode knowledge
  • CodeToEncode: the data that will be converted to barcodes. Each barcode type has different valid data set and start/stop characters may needed for barcodes which do not require a check digit, like Code 39, Codabar
  • ChecksumEnabled: this property is used to enable or disable the automatic check digit calculation for barcode which require a checksum
  • X: this is the barcode X dimension property. It determines the narrow bar module width.
  • Y: This property determines the height of bars.
  • BarCodeWidth: this property is used to set the width of the barcode control that will occupy in the project.
  • BarCodeHeight: this property is used to set the height of the barcode control that will occupy in the project.
  • Orientation: Rotate the barcode generated to different angles, including 0, 90, 180 or 270 degrees
  • Tilde functions: encode returns, tabs and other functions such as GS and RS functions, which are necessary in UPS, and FedEx transportation applications, between fields in a barcode symbol like Code 128, PDF417 and Data Matrix.
  • DisplayText: if this property is set to true, the encoded data characters can be displayed on the barcode symbol generated for human readable.
KeepAutomation provides complete barcode automation solutions. We recommend the customers use high quality document controls: ASP.NET Document Viewer, ASP.NET MVC Document Viewer, Document Viewer ASP.NET C#, ASP.NET PDF Viewer, ASP.NET Word Viewer, ASP.NET Excel Viewer, ASP.NET PDF Editor, MVC PDF Viewer, ASP.NET Annotate PDF, c# pdf sdk, C# View, edit PDF online , C# Convert PDF to Tiff, C# Convert PDF to text, txt, .net imaging sdk, C# PDF metadata edit from