Updating an Existing Application with the iOS Skin
You can use the new iOS skin to update an existing application. Below is a walkthrough that illustrates how to integrate the iOS skin into the BasicPlaybackSampleApp.
To summarize, the following is the list of requirements for Ooyala Skin SDK to work in your application:
- Ooyala SDK, JavascriptCore, Social, and MessageUI should be linked.
- Ooyala Skin SDK
- Should be linked.
- SDK version in the skin package's VERSION file should match the VERSION file in the Ooyala SDK.
- Fonts
- Should be bundled.
- Should be part of Info.plist.
- Localization Files (en.json, zh.json, etc.), skin-config.json, and main.jsbundle should be bundled.
- Objective-C code should use the OOSkinViewController, and it should use main.jsbundle as the jsCodeLocation.
- Other Linker Flags should be set to -ObjC.