Add the Live Experience Widget to your iOS App

Follow this procedure for any controller in which you'd like the Live Experience widget to appear.

  1. If you haven't already, import the Live Experience iOS framework: import OracleLive.
  2. For each view controller from which a user can either start a call or navigate to while a call is in progress, update viewDidAppear with the following lines of code:
    override func viewDidAppear(_ animated: Bool) {
     super.viewDidAppear(animated)
     Controller.shared.addComponent(viewController: self)
    }
    Note: If you'd like to use a different appLocation for different view controllers (for example, to indicate that a user has contacted an associate from a support tab as opposed to a sales tab), you can update the appLocation context attribute in viewDidAppear adding the statement before addComponent.

What to do next

Next, Add Meeting Support to Your iOS App.