Problem Summary
My mainVC --> second VC transtion appears to run twice. However, what\'s odd is that the second VC\'s viewDidLoad only runs once. This i
One reason might be that the controller which is being pushed have another transition in its viewWillAppear() method.
viewWillAppear()
In my case, I had put textField.becomesFirstResponder() in viewWillAppear() method which triggers keyboard to show
textField.becomesFirstResponder()
Move any such method to viewDidAppear()
viewDidAppear()