App crashes on pressing back button
app crashes when pressing back button
log description:- [FootballScoreBoardViewController bannerViewDidLoadAd:]: message sent to deallocated instance 0x5aae9e0
Ithink this method is not called 开发者_如何学Gobut how to sort the problem Please help Thanks in ad
You might deallocating some released or unallocated item in the dealloc {} part or some items may gets released without allocating the same like array or variable or lable etc.
Or else you might calling the array without the values .
check the same by debugging you'll get answer definetely
This means that you are calling a method on an object that has been released.
You may be calling release 1 too many times on a object. Use zombies to diagnose whats going on. Without posting some code its hard to tell whats going on
Thanks guys for your answer.
Finally I got the solution of my problem. There was one delegate method that was called so simply I set to nil in dealloc
method.
精彩评论