这里会显示出您选择的修订版和当前版本之间的差别。
en:razor:ios-developer-guide [2015/03/18 15:51] cobub [2.2 SDK Usage Step] |
en:razor:ios-developer-guide [2017/07/14 11:18] |
||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== Cobub Razor iOS Developer Guide ====== | ||
- | ===== 1 Overview ===== | ||
- | |||
- | |||
- | |||
- | ==== 1.1 Documentation Goal ==== | ||
- | |||
- | |||
- | The goal of this document is to explain usage rules of Cobub Razor iOS SDK for facilitating developers | ||
- | |||
- | ==== 1.2 Application Scope ==== | ||
- | |||
- | |||
- | This document is for iOS SDK developers, which uses the Open Source Mobile Analytics – Cobub Razor | ||
- | |||
- | |||
- | ===== 2 Basic Setup Guide ===== | ||
- | ==== 2.1 Obtain APPkey ==== | ||
- | First please set up the Web Server of Cobub Razor ([[en:razor:installation|instruction]]), then register App onweb server and fill App info after login. Once App is created successfully, you could obtain AppKey. | ||
- | ==== 2.2 SDK Usage Step ==== | ||
- | === 2.2.1 Download SDK === | ||
- | |||
- | |||
- | Download the latest release of SDK and Unzip it. Once unzipped, you could see two files, UMSAgent.h and libUMSAgent.a. | ||
- | |||
- | === 2.2.2 Import SDK === | ||
- | |||
- | |||
- | Select Add->Existing files in project directory and select the two unzipped files above, or drag two files to project directory directly. Select Copy Items into destination group’s folder(if needed). | ||
- | {{:en:razor:20150318-075044.png}} | ||
- | 2.2.3 Add Dependent Framework | ||
- | |||
- | To obtain network info and operator logo, you need adding CoreTelephony Class Library. | ||
- | {{:en:razor:20150318-075129.png}} | ||
- | |||