iphone – 由于“无法在捆绑中加载NIB”导致崩溃

iphone – 由于“无法在捆绑中加载NIB”导致崩溃,第1张

概述在我的应用程序中有一个PointMode按钮.当我点击它10到11次时没有问题,视图将出现.但之后,它产生了这个错误: Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Could not load NIB in bundle: ‘NSBundle < Simulator/4 在我的应用程序中有一个PointMode按钮.当我点击它10到11次时没有问题,视图将出现.但之后,它产生了这个错误:

Terminating app due to uncaught exception ‘NSInternalinconsistencyException’,
reason: ‘Could not load NIB in bundle: ‘NSBundle < Simulator/4.1/Applications/04DF6214-383F-43DA-B2D2-C5B538B0095B/PW.app> (loaded)’
with name ‘PWPointMode”

我称之为这样的观点.

PWPointMode *pointController = [[PWPointMode alloc]initWithNibname:@"PWPointMode" bundle:nil];    self.objPointMode = pointController;    [self.navigationController pushVIEwController:objPointMode animated:YES];    [pointController release];

我的应用程序是通用的应用

解决方法 Harin

我向你展示它的代码,你可以加载新的视图或笔尖,但你解释一下
在加载10-15次后查看您的应用程序将显示此消息,以便您
在Performance Tool中运行您的应用程序并检查是否因为泄漏了资源内存
满满的.由于此问题,您还会在应用程序崩溃时收到此错误消息.

可能这个对你有用……

总结

以上是内存溢出为你收集整理的iphone – 由于“无法在捆绑中加载NIB”导致崩溃全部内容,希望文章能够帮你解决iphone – 由于“无法在捆绑中加载NIB”导致崩溃所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1040698.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-24
下一篇 2022-05-24

发表评论

登录后才能评论

评论列表(0条)

保存