Skip to content

Instantly share code, notes, and snippets.

@atulkhatri
Created July 12, 2021 17:47
Show Gist options
  • Save atulkhatri/2822959811ef4f435ff5f3e14abc4d4a to your computer and use it in GitHub Desktop.
Save atulkhatri/2822959811ef4f435ff5f3e14abc4d4a to your computer and use it in GitHub Desktop.
tvOS Bootcamp Detail Screen 5
private func openPlayer(with asset: AssetModel) {
let playerVC = PlayerViewController()
playerVC.asset = asset
playerVC.rail = rail
present(playerVC, animated: true, completion: nil)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment