Yes viewWillDisappear() is called. It sets savedRowMainFave and (for test purposes prints "Leaving indexPath = savedRowMainFave). The variable does not disappear. When I come back in viewWillAppear() runs i also print out savedRowMainFave coming in = savedRowMainFave to verify it is still set properly. I do have an else statement as you suggested but the code never runs.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: