Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation Bar Changes #65

Open
jamalnasir opened this issue Sep 13, 2019 · 0 comments
Open

Navigation Bar Changes #65

jamalnasir opened this issue Sep 13, 2019 · 0 comments

Comments

@jamalnasir
Copy link

jamalnasir commented Sep 13, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant