草庐IT

UIRootWindow

全部标签

ios - 用 XIB 替换 Storyboard

如何用XIB替换Storyboard?在尝试动态创建View及其Controller时,我失去了新Storyboard的所有优势。现在,在尝试将其从项目中删除时,我创建了一个带有自己Controller的新XIB,并在项目设置中替换了它:现在,当尝试运行该应用程序时,它崩溃了,日志显示以下内容:2012-04-0814:50:16.567Bazaart[11340:15203]***Terminatingappduetouncaughtexception'NSUnknownKeyException',reason:'[setValue:forUndefinedKey:]:thiscla