Try to answer, but first : that does work on my XCode simulator on Mac with trackpad.
To test, I create 2 segues:
- one from the cellView (SegueClick) to show view1
- a second (SeguePeek), from the ViewController (control-drag from the leftmost icon at top of viewController, to a second view view2, when I longpress on the cell, for a peek.
The first segue is called directly when I click on the cell. No code to write, all handled by IB
The second segue is not triggered in the same way: it is available, but you must performSegue to activate it.
Hence, you have to write some code, and make the view controller conform to the delagete protocol UIViewControllerPreviewingDelegate.
So, now to your questions :
1. What is the "SeguePeek" segue used for given you're instantiating the peek view controller manually?
You're right, not needed. But the SeguePeek is needed, because used in the Peek & Pop Preview & Commit in IB
2. You did not register the UIViewControllerPreviewingDelegate. Was that an oversight or is it not necessary?
Not needed
3. If I enable the "Preview & Commit Segues" option, the UIViewControllerPreviewingDelegate methods never get called (regardless of whether I register the delegate or not). So I end up with the same behavior as before. Am I missing something?
You enable this option in the "normal" segue, when clicking in the cell : SegueClick
If you send your email, I can send you a complete test project.