Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func previewingContext(previewingContext: UIViewControllerPreviewing, viewControllerForLocation location: CGPoint) -> UIViewController? {
- //Getting someId using the location and then I just create a view controller depending onthat id
- return viewControllerForPlayer(someId) //This returns the view controller I am trying to peek
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement