I am making an app with different nav controllers. All of them are initially initialized.
Say, I have 3 nav controllers A, B and C.
A View controller from B (say B1) sends a notification that is supposed to be heard from view controller in A (say A1). After that, we go to view controller A1.
However, if we are in the view controller B1 from the beginning (and never went to View controller A1), then A1 doesnt get the notification. However, it gets it the second time.
OR, if I go inside A1 once, then the notifications are properly received.
Can anyone kindly help me out ? Thanks.
NB: the listeners code is in the init of A1. It gets hit (i checked by using breakpoints).