In order to be able to use the Anyline SDK, only two requirements have to be met:
- iOS 10.0 or higher
- iPhone 5 or newer
Only 1080p camera devices are supported
The following Architectures are supported:
The Anyline SDK Examples Bundle
If you rather like to jump into some code than to walk through a Quick Start Guide, a good starting point for development with the Anyline SDK, is to download the iOS SDK Bundle.
It includes the following:
- Framework: Contains the Anyline.framework in version 6 and AnylineResources.bundle
- Documentation: Contains a html and docset version of an appledoc style interface documentation
- AnylineExamples: Contains a simple app where each plugin is implemented - it can be installed right away
- LICENSE: The Third Party License Agreements
- RELEASE_NOTES: Information about any changes
Not included in the bundle are the Example Sheets with testing material.
They can be downloaded here: Example Sheets
Quick Start Guide
This guide is going to lead you through the first steps when implementing the Anyline SDK on iOS.
Add the AnylineSDK
On iOS, there are two ways how you can add the Anyline SDK to your project.
pod ‘Anyline’, ’~> 4’ to your Podfile and run
pod install or
pod update. (Please make sure you are on the latest version of CocoaPods)
Simply drag & drop Anyline.framework & the AnylineResources.bundle into your project tree.
In the import screen select Copy items if needed and Create groups and add the files to your target.
Generate an Anyline License
In order to run the Anyline SDK in your app, you require a License Key.
In order to create a license key, you first have to identify the
Bundle Identifier of your iOS app.
License <> Bundle Identifier
Every license is bound to a
Bundle Identifier. If you change your
Bundle Identifier, you will require a new license.
This also ensures that your license key cannot be used in any other application.
How to identify the Bundle Identifier
The iOS Bundle Identifier is best found in Xcode in the Project Overview / General.
Generate the License
Bundle Identifier you are now able to Generate a License
Integrate the License Key
The easiest way to use and store the license key is to initialize a
NSString * const variable and assign the key string to it.
This could look like the following:
NSString * const kLicenseKey = @"YOUR KEY";
Now you can simple access the key via
kLicenseKey in your code to initialize one of the Anyline Plugins.
Please continue the Getting Started guide before you start scanning.
Init an Anyline ScanViewPlugin and ScanView in your ViewController or Storyboard
Now you are all set to load one of the Anyline SDK Plugins and start scanning.
The Plugins on iOS are described in detail at Plugins in the next section.