It throws the error beacuse, you are using resources and not deallocating them. De allocate the resources which you are not using currently, like images and objects.
Example: dealloc(){
logoImg=null;
de allocate here
myObj=null;
}
Hope this might help you.