Created
March 3, 2015 23:26
-
-
Save Jamonek/3816c21e7eb9bdcf87e9 to your computer and use it in GitHub Desktop.
Popover error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { | |
let popoverViewController = segue.destinationViewController as UIViewController | |
popoverViewController.modalPresentationStyle = UIModalPresentationStyle.Popover | |
popoverViewController.popoverPresentationController!.delegate = self | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment