Search code examples
iphoneobjective-ciosios5uistoryboard

Embed Segue not backwards compatible


I have added Embed-Segues in my App and I just realized that this is not compatible to iOS 5.0.

I get the following error on Startup:

'NSInvalidUnarchiveOperationException', 
reason: 'Could not instantiate class named UIStoryboardEmbedSegueTemplate'

Before I had my own custom "EmbedSegue" class which does pretty much the same thing.

Is there a way to kind of bridge this in iOS 5.0 or do I have to revert the changes that I've made?


Solution

  • It did turn out that the Embed segue is an iOS 6.0 only feature. It is a shame that Xcode does not warn me here, having the Target OS Version set to > 5.0.