How do you create a segue between a view controller in one storyboard and a view controller in another storyboard?
Earlier it was not possible without code, but since Xcode 7, Apple has given us a powerful tool - Storyboard References
.
What you need to do is to drag and drop this element to your initiating storyboard:
In its options you select the proper storyboard and optionally (default it uses initial view controller) set its id.
Now you can define segue to this view controller as normal.
Please note that only normal segues work with iOS8. Relationship ones (like root, embed etc.) work only in iOS9.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With