美文网首页
Unknown class xxx in Interface B

Unknown class xxx in Interface B

作者: 苍眸之宝宝 | 来源:发表于2019-07-15 18:28 被阅读0次

1.swift出现:

Unknown class xxx in Interface Builder file.信息。

2.原因:

Main.storyboard没有对应的类。

3.解决方法:

方法一:去除用Main.storyboard为入口。

方法二:如下图添加storyboard对应的类。

Main.storyboard

相关文章

网友评论

      本文标题:Unknown class xxx in Interface B

      本文链接:https://www.haomeiwen.com/subject/wtjokctx.html