Skip to content

Instantly share code, notes, and snippets.

@azimin
Last active October 15, 2016 14:42
Show Gist options
  • Save azimin/14b18954514cb75cf520 to your computer and use it in GitHub Desktop.
Save azimin/14b18954514cb75cf520 to your computer and use it in GitHub Desktop.
func previewingContext(_ previewingContext: UIViewControllerPreviewing, commit viewControllerToCommit: UIViewController) {
show(viewControllerToCommit, sender: nil)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment