1.1 Drag the MySizeIDSDKSurface.framework and the MySizeIDSDKBase.framework files supplied to you to your iPhone project folder. Make sure the “copy item if needed” checkbox is checked.
1.2 Go to your “target build phases” settings and drag the MySizeIDSDKSurface.framework and the MySizeIDSDKBase.framework into “Link Binary with Libraries” section.
1.3 Press the plus button in “link binary with libraries” section. Search for “libz.tbd” and add it.
Preparation
Before using the SDK measuring capabilities, you need to initialize the SDK with the two following parameters, provided to you by My Size:
- Access Key
- Access Secret
Integration
Open your project’s AppDelegate.swift file and add the following code:
}
Add a header file and add the following code:
Go to “Build Settings” and set the “Always Embed Swift Libraries” flag to YES
NOTICE!: You won’t be able to use the SDK without providing the access key and access secret. If you don’t have them please contact support@myszeid.com.
Comments
0 comments
Please sign in to leave a comment.