Configure your project
To complete the SDK import process, you must add the player license key and import the VPPlayer_SDK
.
- In Xcode, open AppDelegate.swift.
- Import the "VPPlayer_SDK".
- Call
VPPlayer.setup()
in the_didFinishLaunchingWithOptions_
function.
You have configured your project. You can now add a player to your view.
VPPlayer.setup(apiKey: "API-KEY", projectId: "Project-ID"){ success in
//print(success)
}