0

I have to use a UITabBarController inside UINavigationController. Everything seems to be right, but if i log the dealloc calls of the tabs some strange thing happens.

If I don't touch eanything just the back button, all dealloc of each tabs are called. If I switch to any other tab and than I tap the back button the dealloc of the first tab won't be called but the others will.

What can be wrong whit that?

silicosaur
  • 65
  • 2
  • 8

1 Answers1

0

Take a look at this SO question. Basically, a tab bar controller inside a nav controller isn't officially supported, but you can mimic the behavior by using a tab bar without a UITabBarController.

Community
  • 1
  • 1
Daniel Dickison
  • 21,832
  • 13
  • 69
  • 89