Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Only Custom segues support class names prior to iOS 9.0

In Xcode 7 GM, I'm getting the above warning in my storyboard. What does it mean?

I do have some Custom segues, and they have their class assigned to a transition manager (UIStoryboardSegue). I checked all my segues in the storyboard, and all the custom segues have a custom class, and all non-custom segues don't have a custom class assigned (including unwind segues).

Any ideas?

like image 914
coopersita Avatar asked Sep 11 '15 15:09

coopersita


People also ask

What are segues in iOS?

Segues are visual connectors between view controllers in your storyboards, shown as lines between the two controllers. They allow you to present one view controller from another, optionally using adaptive presentation so iPads behave one way while iPhones behave another.

What is segue destination?

A segue defines a transition between two view controllers in your app's storyboard file. The starting point of a segue is the button, table row, or gesture recognizer that initiates the segue. The end point of a segue is the view controller you want to display.

How do you add embed segue to a storyboard?

To create a segue between view controllers in the same storyboard file, Control-click an appropriate element in the first view controller and drag to the target view controller. The starting point of a segue must be a view or object with a defined action, such as a control, bar button item, or gesture recognizer.


1 Answers

To resolve this warning change segue with custom class to Customenter image description here

Of course logic with performing the transition should be implemented in that class (ExternalStoryboardSegue in my case)

like image 82
HotJard Avatar answered Oct 05 '22 23:10

HotJard