Libraries

IOS

IOS

To get started with iOS, you’ll need to include our iOS library, the objective-c files (kApi.h and kApi.m), into your iOS environment, and initialize a fresh tracking object to initialize the API. Note that the calls to the Katana iOS library are asynchronous.

To initialize the API using PHP

  1. Grab the latest version of the Katana iOS Library: https://bitbucket.org/ninja_metrics/kapi-ios-lib
  2. Include the iOS library in your source, using: #import “kAPI.h”
  3. Initialize a fresh tracking object in your source, using:
kAPI *api = [[kAPI alloc] clientID, appID, appPassword];