currently I have 2 controller(A, B, C)
I'm using JASidePanelController. A is my menu controller which will display in JASidePanelController.
How do I track what controller is shown in the centerPanel?? The reason is because in my menulist, I want to change the specific row background according to specific controller..
You can use
willMoveToParentViewControllerasJASidePanelControlleris just a container controller.So in your view controllers (you may want to subclass UIViewController and just subclass all your view controllers from the subclass that has this in it) you can use this code:
That line that says
See note belowyou would then have to get setup to be usable in your left view controller, but that's how you could communicate between the center and left panels.