My iPhone app is based on a common "utility template" like Apple's own Weather app.
I click on the info-button and it flips the screen around. I click on my done button... and it flips back. That part all seems to work ok.
I've placed NSLog() statements into each of 4 methods in my FlipSideViewController.m
viewDidLoad
viewWillAppear
viewDidUnload
viewWillDisappear
Shouldn't I see viewDidLoad and viewDidAppear being called when I flip TO my FlipSide. And then see viewWillDisappear and viewDidUnload when I flip back?
Instead, I never see any viewDidUnload call. But I DO see another viewDidLoad each time I flip TO my FlipSide. It's that wrong?
Flipping back and forth, again and again, I would see:
viewDidLoad
viewWillAppear
viewWillDisappear
viewDidLoad
viewWillAppear
viewWillDisappear
viewDidLoad
viewWillAppear
viewWillDisappear
Doesn't that mean the view reloaded 3 times... but unloaded 0 times? Shouldn't there be "matching" load/unload and appear/disappear methods happening here?