I've a UIButton which I built in Storyboard. Its title is "Hallo" (Entered in Attributes Inspector) It is connected via an Outlet. In viewDidLoad I did the following:
self.myButton.hidden = YES;
In another method I want to change the title and make the button visible:
[self.myButton setTitle:@"Test" forState:UIControlStateNormal];
self.myButton.hidden = NO;
Now the strange thing: For a few milliseconds I see the old title "Hallo" and then it changes to "Test". How could this be? I could understand this behaviour if I make it first visible and then change the text.