Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
CocoaPods
PersonaClick SDK is available through CocoaPods. To install it, simply add the following line to your Podfile:
Code Block | ||||
---|---|---|---|---|
| ||||
pod 'PersonaClick' |
Swift Package Manager
If you are using Xcode 11 or later:
- Click: File > Swift Packages > Add Package Dependency...
- Specify the git URL for PersonaClick SDK repo.
Code Block | ||||
---|---|---|---|---|
| ||||
https://github.com/PersonaClick/ios-sdk.git |
Initialization parameters
Name
Type
Requirement
Description
Example of use
Code Block | ||||
---|---|---|---|---|
| ||||
personaclick("init", "c6d2fe5fdca0c8e51d10b07523bc07", function() {
// Do something in case of successful initialization
console.log("The PersonaClick initialization was successful");
}, function() {
// Do something in case of unsuccessful initialization
console.log("The PersonaClick initialization was unsuccessful");
}); |
Table of Contents | ||||
---|---|---|---|---|
|