iOS SDK

Updated at:

Overall integration steps

Step

Integration task

Reference section

Required

Remarks

Step 1

Import and Configure SDK for APM

View the document 「Import & Configure SDK」

Required

Step 2

Set Domain

View documentation [Basic integration]-> 1. Domain settings

Required

Step 3

User ID

View documentation [Basic Integration]-> 2. Set a user ID

Optional

A custom user ID. After you set a user ID, the account is displayed on the product dashboard.

Step 4

Initialize

View Document [Basic Integration] 3. Initialize

Required

Step 5

Function toggle

View Document [Performance API]> 1. Configure feature toggle

No

You can disable crash analysis, lag analysis, startup analysis, network analysis,

memory analysis, H5 page analysis, and OOM exception tracking. All features are enabled by default.

Step 6

Function module configuration

View Documentation [Performance API]-> 2.1 Crash Analysis

Required

Tracked automatically after integration if the feature is enabled. To use crash callbacks, additional configuration is required.

View Documentation [Performance API]-> 2.2 Custom Exceptions

No

To report custom exceptions, you must manually call the API.

View Documentation [Performance API]-> 2. 3 Lag Analysis

Required

Tracked automatically after integration if the feature is enabled. No additional configuration is required.

View Documentation [Performance API]-> 2. 4 Startup Analysis

Yes

Data is tracked only after you configure startup monitoring.

View Documentation [Performance API]-> 2. 5 Network Analysis

Yes

View Documentation [Performance API]> 2. 6 Memory Analysis

Yes

View Documentation [Performance API]-> 2. 7 OOM exception

No

View Documentation [Performance API]-> 2. 8 H5 Page Analysis

Yes

Depends on the JS SDK. In the iOS SDK, you only need to enable the switch.

View Documentation [Performance API]-> 2. 9 Native Pages

Yes

Configuration is required to track native page data.

View Documentation [Performance API]-> 2. 10 Log retrieval

No

Step 7

Symbol table description

View Documentation [Performance API]> 3. Symbol Table Configuration

Required

You must upload the symbol table for error symbolication.

Appendixes

SDK reporting policy

View Documentation [SDK Reporting Strategy]

No

References

Introduce and Configure SDK

Basic Integration

SDK Function Introduction

SDK Reporting Strategy