Say, I have a label show : Loading...
problem: When return from VC(2). The label is not hidden.
How to hide it when return from VC(2) and dont hide it when in navigating to VC(2) and show the message : Loading....
in VC(1) @IBOutlet weak var lbLoadingMsg In viewDidLoad() { lbLoadingMsg.hidden = true } -2-- turn it on when prepare to navigate to VC(2) override func shouldPerformSegueWithIdentifier(identifier: String?, sender: AnyObject?) -> Bool { --code-- lbLoadingMsg.hidden = false } Override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject!){ }