The answer is simply that it makes no difference how the segue is triggered.
The prepareForSegue:sender:
method is called in any case and this is where you pass your parameters across.
More Related Contents:
- Prevent segue in prepareForSegue method?
- Creating a segue programmatically
- What is “Constrain to margin” in Storyboard in Xcode 6
- How to change Navigation Bar color in iOS 7?
- Passing data with unwind segue
- Custom views with Storyboard
- Understanding performSegueWithIdentifier
- Load view from an external xib file in storyboard
- What’s the difference between all the Selection Segues?
- How to create an Empty Application in Xcode without Storyboard
- What is the difference between Modal and Push segue in Storyboards?
- How can I use Autolayout to set constraints on my UIScrollview?
- In Swift how to call method with parameters on GCD main thread?
- How do I give an “identifier” to a view controller within my storyboard?
- AlertController is not in the window hierarchy
- Use didSelectRowAtIndexPath or prepareForSegue method for UITableView?
- How to customize the navigation back symbol and navigation back text?
- Is it possible to update a localized storyboard’s strings?
- Instead of push segue how to replace view controller (or remove from navigation stack)?
- is groupTableViewBackgroundColor deprecated on iOS 6?
- Can’t assign multiple Buttons to UINavigationItem when using Storyboard with iOS 5
- Segue in SKScene to UIViewController
- On iOS, what are the differences between margins, edge insets, content insets, alignment rects, layout margins, anchors…?
- @IBDesignable error: IB Designables: Failed to update auto layout status: Interface Builder Cocoa Touch Tool crashed
- How to present view controller from right to left in iOS using Swift
- The document Main.storyboard requires Xcode 8.0 or later
- Pushing a navigation controller is not supported
- How to put the UIPageControl element on top of the sliding pages within a UIPageViewController?
- UISearchController persisting after segue
- Xcode changes unmodified storyboard and XIB files