How to add Peek&Pop to a segue not assigned to a button

53 views Asked by At

I have a segue that is not assigned to any button in the interface builder, but I do call a [performSegue segueWithIdentifier@""] when tapping in dynamic created button.

Is there a way to enable the peek&pop on those dynamic created buttons?

Thank you so much!

1

There are 1 answers

0
Dmitry Arbuzov On BEST ANSWER

You need implement methods of UIViewControllerPreviewingDelegate. See details here