Skip to content

Instantly share code, notes, and snippets.

@steve228uk
Created October 16, 2015 11:14
Show Gist options
  • Save steve228uk/1fc2a1fe475e3f3a7ee9 to your computer and use it in GitHub Desktop.
Save steve228uk/1fc2a1fe475e3f3a7ee9 to your computer and use it in GitHub Desktop.
Transparent tvOS modal
providesPresentationContextTransitionStyle = true
definesPresentationContext = true
modalVc.modalPresentationStyle = .OverCurrentContext
presentViewController(modalVc, animated: true, completion: nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment