iOS: How to “Refresh” a UIViewController after Popping its Child UIViewController?
问题 In my app I'm using UINavigationController. I have a "parent" UIViewController and a "child" UIViewController running on the stack. The user can do some settings on the child that are later on suppose to affect the parent. I use NSUserDefaults to save and retrieve the data, and it seems to be working fine according to the NSLog. What I'm not clear about is how am I supposed to "refresh" the data once I come back from the child. Let me be more specific: In the child there is a "Back" button