Describe the bug
When adding UITbbarController in viewcontroller stack of AMScrollNavBar.The top space does'nt go away.
To Reproduce
Steps to reproduce the behavior:
- Adding tabbarcontroller to navigation bar like this
self.navigationController?.viewControllers = [UIStoryboard.main.instantiateViewController(withIdentifier: TabbarViewController.className)] and navigationcontroller is ScrollingNavigationViewController.
- Child controllers of tabbarcontroller shows space above navigationbar.
- I'm using ios version 15.Xcode version 13.1.Macos version 11.6
Expected behavior
These top space should not be visible.
Screenshots

Describe the bug
When adding UITbbarController in viewcontroller stack of AMScrollNavBar.The top space does'nt go away.
To Reproduce
Steps to reproduce the behavior:
self.navigationController?.viewControllers = [UIStoryboard.main.instantiateViewController(withIdentifier: TabbarViewController.className)]and navigationcontroller is ScrollingNavigationViewController.Expected behavior
These top space should not be visible.
Screenshots
