I am creating an Iphone App in which i have to open three windows serially again and again using the NavigationGroup. Can any one suggest me how to close a window while using Navigation.
I was trying to make the previous window null after opening the new window . But it is not working. Please help!!!
Thanks in advance
You can use the Xcode “Analyze” function to run the static analyzer. It will find most of the basic memory leaks and tell you what to do. In most cases, use
autoreleaseon your objects if you want them to be freed when unused.Setting a “window” to
nil(null) will not free any memory unless you have declared it as a retaining@propertyand set it tonilusingself.property. Instead, useautoreleaseorrelease.