Open JayamuruganG opened 4 years ago
i want hidden my uiview to uinavigationBar
i cant assign uiview to uinavigationbar
Hero Version:1.5.0
iOS Version(s):13.5
Swift Version: 4.2
Devices/Simulators: simulator
Reproducible in Examples? (Yes/No):
@IBAction func showAction(_ sender: UIButton){
guard let nextVc = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(identifier: "ViewController1") as? ViewController1 else { return } navigationController?.hero.isEnabled = true nextVc.hero.isEnabled = true self.hero.isEnabled = true navigationController?.heroNavigationAnimationType = .fade _ = nextVc.view self.searchView.heroID = "SearchView" self.searchView.hero.modifiers = [.translate(y:-100)] nextVc.navigationController?.navigationBar.heroID = "SearchView" navigationController?.pushViewController(nextVc, animated: true) }
What did you do?
i want hidden my uiview to uinavigationBar
What did you expect to happen?
i cant assign uiview to uinavigationbar
What happened instead?
General Information
Hero Version:1.5.0
iOS Version(s):13.5
Swift Version: 4.2
Devices/Simulators: simulator
Reproducible in Examples? (Yes/No):
Demo Project
@IBAction func showAction(_ sender: UIButton){