title: Can't keep UILabel values displayed while changing UITabBar views
body: <p>Hey guys I am developing an app for a local games rental business here in my town, but I am having problems with values being kept displayed while I switch between views.</p>
  
  <p>The app is based on a complete customized TabBar and the switching views implementation is working fine using this custom segue:</p>
  
  <pre><code>#import "CustomSegue.h"
  #import "ViewController.h"
  
  @implementation CustomSegue
  
  - (void) perform {
  
  ViewController *src = (ViewController *)self.sourceViewController;
  UIViewController *dst = (UIViewController *) self.destinationViewController;
  
  for(UIView *view in src.placeholderView.subviews){
      [view removeFromSuperview];
  }
  
  src.currentViewController = dst;
  [src.placeholderView addSubview:dst.view];
  }
  
  @end
  </code></pre>
  
  <p>So, when the user hits the "Início" (Start) button, the app will trigger a counter. And when the user clicks the "Fim" (End) button the counter stops and a UIlabel displays the total time as you can check within the images below:</p>
  
  <p><img src="https://i.stack.imgur.com/kFlt2.png" alt="App Initial State">
  <img src="https://i.stack.imgur.com/ciNBA.png" alt="Counter working after &quot;Início&quot;button is pressed"></p>
  
  <p>The problem arises when I change the view to any other and later come back to the counter view. Instead of keeping displaying the the start time and the counter, it just shows me the initial state, zeroed start time and counter and it should display the start time and the counter still counting, as you can see within this image:</p>
  
  <p><img src="https://i.stack.imgur.com/9poht.png" alt="App state after switching tabBar views"></p>
  
  <p>It seems the the counter is still running in the background, this is what I think, but somehow it is not keeping it displayed when I change back a view to the counter one.</p>
  
  <p>All variables are strong, I tried retain also but didn't work. </p>
  
  <p>So any one could help me with this?</p>