I want to change button image whenever UISideMenuNavigationController Appear Or Disappear.
This is the class that has a button.
class MenuViewController
MenuViewController class could have a function that changes the image on the button. Eg, func changeButtonMenuImage().@IBOutlet var menuController: MenuViewControllerviewDidAppear and viewDidDisappear can call it's function. Eg, menuController.changeButtonMenuImage()