Here’s the situation.
A dictionary app. Lets imagine we’ve searched for some article and opened it in view controller in Tab #1 and then changed the set of active dictionaries with controller in Tab #3, so now we need to get data from other db tables. But in our Tab #1 we’ve got article opened and if we try to do something with it (4ex go back) it will possibly crash.
So, is there any way to reload view in Tab #1, setting it to default blank screen?
Thanks for your help.
You can use
NSNotificationCenter, see NSNotificationCenter Class ReferenceIn your tab 1’s
viewDidLoad, add the following:and add the following method:
In your tab #3, when you want to update tab 1: