View should call another view's function to create an if-else statement but doesnt work..
As I 'm developing my app, I have a page which is included 3 buttons. I created a view has included 1 table which is following on second button but right now, I need when I press the third button view should come but one of the view's table's column shouldn't appear which should come unvisible.
In my opinion, Exactly I should create if-else statement on this view. But how can I create an if else statement referred another view's buttons. ?
This is a part of button's view.controller.
Can you help me how can I call from another view this function and do if else statement for I need ?