I have several view controllers each of them has a label or a button. I want to change visible view controller button's or label's text from the AppDelegate. I know that it is a bad practice but I in the AppDelegate runs a background thread which looks fow new images for user on the server and if there are ones it must update new images counter in the label on the navigation bar of the current dispalyed view.
My idea was to use in the AppDelegate.m next code: (ControllerWhichLabelIWantToChange*) self.navigationControllerClass.visibleviewcontroller. ...
But here I can't see a label or a button for which I define a property in ControllerWhichLabelIWantToChange.
So the question how can I access elements of different view controllers from the AppDelegate and change them?