Hi, my project is based on ARC, I use the UINavigationController to navigate between the ViewController. I use a profiler to analyze what happens behind the scenes with memory. I noticed that when I click ViewController, it allocates memory to all its components, and when I exit, it does not free the allocated memory.
Since I use ARC, I cannot implement dealloc or release any component. I have analyzed in detail, and there is no memory leak in my project.
I do not use a strong property for pushController. This is how I click ViewController.
viewController *obj = [[viewController alloc] init]; [self.navigationController pushViewController:obj animated:NO];
Any clue what's going on? what should i do to free the memory i used. Please inform
source share