iphone - How can I get UIViewController to properly refresh / update its view? -
I have a Server updates the text after a few minutes, and in the app I press a button which activates it: But the text of the label is not updated until the app is re-compiled How about UIViewController label that has its own text set with an external server. Add to
viewDidLoad :
[self.view addSubview: label];
[self.view setNeedsDisplay ];
label.text = @" new title "; ?
Comments
Post a Comment