不受支持的配置
问题描述:
我想了解故事板的概念,但我得到这样的警告:Unsupported Configuration: Segues initiated directly from view controllers must have an identifier for use with -[UIViewController performSegueWithIdentifier:sender:]
不受支持的配置
我想要做什么:
我有一个的TabBar有4个标签,这些标签导致其中带有TableViewControllers的不同NavigationControllers。 4个不同的TableViewController共享相同的DetailViewController。当我尝试连接最后一个连接(TableViewController - > NaviagtionViewController - > DetailViewController)时,我得到了该警告。
我希望我解释清楚。
Tom
答
发现它,我忘了指定一个idintifier为我创建的segue。
答
当你得到这个警告,你有50个segues ..有没有一种简单的方法来找到哪个是缺少标识符?
有问题吗?因为我的项目非常庞大。 –
不,我还没有找到像这样的东西:( – clopez
我最好的建议是在IB视图中展开左侧边栏。我不是指XCode的侧边栏......而是编辑故事板时的嵌套侧边栏。然后展开每个视图并单击每个segue(打开右侧边栏),直到找到没有标识符的视图。 –