2

I used this solution to add navigation bar to a tabbarcontroller : How to use Navigation Controller inside of UITabBarController with Storyboard on Swift

But I find a problem, for exemple, I embed a navigation in the view A of tabbarcontroller, after I use self.navigationController!.pushViewController to pass view A to view B, after there is a back button with a arrow in view B. The problem is When I click the back button, the animation from view B to view A disappear... view B pass view A sudenlly, the animation is view B pass view A slowly, but the animation doesn't work, why? Thank you

Community
  • 1
  • 1
user2262304
  • 329
  • 1
  • 3
  • 10
  • What you have written on back button event? Or are you using segue or PushViewController? – Jigar Tarsariya May 20 '16 at 12:15
  • I did not write on back button event, because the back button appear automatic after embedding a navigation bar to the `view A` – user2262304 May 20 '16 at 12:17
  • I have a similar issue, however I noticed that switching between tabs "fixes" it, i.e. after that the back navigation animation works. Although, if then I call `prevent` -> `dismiss` combination for some other view controller, it breaks again. Really weird issue though. – iurii Jun 25 '17 at 14:17
  • I'm seeing the exact same thing. Super strange. Any ideas? Wait, here's the answer: https://stackoverflow.com/a/15868170/2121683 – yoitsro Nov 24 '17 at 01:26

0 Answers0