Ok let me explain the situation, I have two view controller let\'s call them first ans second.
The problem was in the initialization, i was setting the label before the view was loaded. Initialize the label in viewDidLoad solved the problem.