How would I programmatically change the kind of a segue that was created in storyboard?
I want to change the segue kind depending on the device type. For .phone the storyboard segue of kind "show" (push) should be executed. For .pad I want to change the segue kind to "modal".
Would I do that in the prepareForSegue or do I have to stop the segue from being executed in shouldPerformSegueWithIdentifier and manually perform a modal segue?
EDIT: This question is focusing on changing the segue type, not on how to identify the device type.