Tire Tread SDK for iOS - Overview

Requirements

To use the Anyline Tire Tread SDK on iOS, you will need a device that meets the following requirements:

  • iOS Version >= 16.4

  • Stable internet connection

  • 'Flash' capability

Environment

Your development/application environment is required to have at least the following tools and versions (or newer) available:

  • Xcode 14.3

  • swift-tools 5.8 / Cocoapods

Implementation

At minimum, implementing the Anyline Tire Tread SDK will require two steps:

1. Anyline Tire Tread SDK initialization

The function AnylineTireTreadSdk.companion.doInit is responsible for initializing the Anyline Tire Tread SDK with your License Key. It needs to be called only once, and before running any other Anyline Tire Tread SDK-related tasks.

2. TireTreadScanView implementation

The TireTreadScanView is an UIViewController, thus it can be added as a subview to your view, along with other views.

This view handles the camera access and provides functions for you to start and end the scan process, as well as the "distance information" to guide the scan process.


Check the iOS SDK - Getting Started section to begin.