Custom design

For the representation of the own design you have to pass the SDK of the rootViewController. To do this, proceed as shown below: The callback "appStarted" is called by the SDK at the start of your app.

Example for activate the custom design
@objc class func appStarted() {
    let vc = UIStoryboard(name: "CustomUI", bundle: nil).instantiateViewController(withIdentifier: "VCCustomTabs") as! UITabBarController
    let nc = UINavigationController(rootViewController: vc)
    CDockSDK.showCustomVC(nc)
}

Feedback or Questions

We are always happy to help you with questions about the code or other questions.

Was this page helpful? Yes No

Topics on this page