项目不断加载不存在的 NIB 文件!
晚上好,
我创建了一个继承自 UIViewController 的类,并创建了一个 nib 文件,在其中设置了我的视图。之后,我决定以编程方式设置视图,因为它更可配置...问题是,即使我删除了 .XIB 文件,我清理了项目,我删除了类并重新制作了它,它仍然加载不存在的 NIB文件...我该怎么办?
谢谢你!
L_索尼克
Good evening,
I created a class which inherits from UIViewController and i created a nib file, where i set up my view. After that i decided to set the view programmatically as it is more configurable... The problem is that even though i deleted the .XIB file, I cleaned the project, I deleted the class and remade it, it keeps loading a non existant NIB file... What should i do?
Thank you!
L_Sonic
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有时,资源在更新/删除时无法正确刷新。因此,您可能需要在执行清理/重建之前从设备上删除应用程序或重置模拟器。
Sometimes the resources don't get flushed correctly when they're updated/removed. As such, you might need to delete the app off the device or reset the simulator prior to doing a clean/rebuild.