I am trying to update a username field for a text field. Currently, there is an owner of the place that says "Username". I am loading the username from the settings file, but for clarity, I just specify it in the username.
- (void)viewDidLoad { settings=[Settings new]; [settings loadData];
For some reason this does not work !!! However, if I have a button that when I click on it will update the text box.
eg.
- (IBAction)login:(id)sender{ username.text=@ "test"; }
Thus, the button updates the text, but I cannot update it from viewDidLoad. Is this a problem with threads? I canβt believe it is that simple for so long.
DD
source share