I am getting exception on few of my ViewControllers when I go through browsing the application.
The exception is occurring in viewdidunload, I think this is due to memory warning.
The following line gets an exception which are the IBOulet objects.
self.LabelDistance = nil;
self.distanceSlider = nil;
Please help.
Thanks
Try:
instead. Also, you shouldn’t be releasing ivars in
viewDidUnload, release them indealloc. If the problem persists, run the static analyzer (Build menu >> Build and Analyze), it is generally good at finding memory related issues.