Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

crash due to "Could not load NIB in bundle"

In my app there is a PointMode button. When I click on it 10 to 11 time there is no problem and the view will appear. But then after, it produces this error:

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''

I call that view like this.

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

my application is universal app

like image 640
Harin Avatar asked Nov 25 '22 11:11

Harin


1 Answers

Harin

I show you code it`s by this you can load new view or nib and but u explain there as after 10-15 time of loading view your application going to show this message so for that you run your application in Performance Tool and check due to leak your resource memory not going to full. due to this problem also you get this Error message while application crash.

May be this one is useful to you...

like image 81
AJPatel Avatar answered Dec 09 '22 04:12

AJPatel