AKSideMenu icon indicating copy to clipboard operation
AKSideMenu copied to clipboard

Navigation Bar Changes

Open jamalnasir opened this issue 6 years ago • 0 comments

I implemented the storyboard method of AKSideMenu. The problem I am facing is that the navigation bar changes to white and without back button. Whereas, it is fine with FirstControllerView.

It all happens when I set the animation to true, as:

self.sideMenuViewController!.setContentViewController(UINavigationController(rootViewController: self.storyboard!.instantiateViewController(withIdentifier: "firstViewController")), animated: true)

The other view controllers doesn't push if animation is set to false but the FirstViewController.

The normal background color for the navigation bar is maroon. It becomes white when push to other controllers other than FirstViewController.

The following is the normal navigation bar.

Screen Shot 2019-09-13 at 4 37 18 PM

This is the view after selecting another view. Also, notice there is no back button. Screen Shot 2019-09-13 at 4 37 35 PM

The bottomline is that: - Navigation doesn't work if animation is set to false - Navigation bar Background color is changes to white and without back button.

So, how to make it work with animation set to true with the original navigation bar behavior?

jamalnasir avatar Sep 13 '19 12:09 jamalnasir