SnapViewController

SnapViewController offers the snapping UI including all the logic to your application. Instantiate via one of the provided class methods depending on the desired operation mode.

It is recommended to present the SnapViewController modally in a UINavigationController. Note: Please note that you need to explicitly add a navigation item for dismissing the ViewController.

  • Creates and returns a new SnapViewController for Sports Media Mode. So after snapping, the OddsResultsViewController for the snapped sport event is presented.

    • configuration the snap configuration you want to use.
  • Creates and returns a new SnapViewController for Sports Operator Mode. So after snapping, the provided SnapscreenSnapDelegate is informed about the snapped sport event and you choose how to proceed.

    • configuration the snap configuration you want to use.
    • snapDelegate the delegate you want to receive callbacks about snap results
  • Call if you manually want to notify the ViewController about appearance (e.g. if you previously presented another view above the SnapViewController and it is now reappearing)

  • Call if you manually want to notify the ViewController about disappearance (e.g. if you partially present another view above the SnapViewController)

  • Continue snapping when snapping was stopped due to sport event result being delivered to SnapscreenSnapDelegate in Sports Operator Mode.