Storyboard doesn't contain a view controller with identifier 'UIViewController'

来源:互联网 发布:怎么校准网络时间 编辑:程序博客网 时间:2024/05/02 04:21

转自:http://stackoverflow.com/questions/27357236/storyboard-doesnt-contain-a-view-controller-with-identifier-when-using-mult

如有侵犯,请来信oiken@qq.com


正在做着,突然出现crash,显示的log是

Storyboard (<UIStoryboard: 0x170054b20>) doesn't contain a view controller with identifier 'UIViewController'


擦,百度。

结果用了这个就好了:在这个ViewController 的属性里放一个 Storyboard ID,估计是xcode自己抽风。


I think your problem is here, navigate to the Main.storyBoard after that click on your viewController which you want to initiate after that give it to the identifier here:

enter image description here

May be this will help you.


0 0
原创粉丝点击