The property label is of type UILabel and is an outlet in UIViewController.
Why does the following work :-
[window addSubview:viewController.view];
[viewController.label setText:@"New Label"] ;
and the reverse sequence of statements doesn't change the default text in the label:
[viewController.label setText:@"New Label"] ;
[window addSubview:viewController.view];
Isn't view loaded from the UI elements attached to the UIViewController ?