I have a storyboard with two scenes, both scenes are handled by the same WKInterfaceController. In the second scene there are 3 WKInterfaceLabels
In the init() method of the interface controller I am able to change the Label with setText function. When I try to change the WKInterfaceLabel "Dienst" in
- (void)table:(WKInterfaceTable *)table didSelectRowAtIndex:(NSInteger)rowIndex
NSManagedObject *dienst = [TableArray objectAtIndex:rowIndex];
[self.Dienst setText:@"Selected"];
NSError *error;
NSString *MP = [self read_KC_Pass:&error];
[self.Benutzer setText:[self get_Benutzer:[dienst valueForKey:@"dienst"]:MP]];
[self pushControllerWithName:@"Detail" context:nil];
The Value of WKInterfaceLabel Dienst is nil.
Does anybody has a clue? I am not used to storyboard
The outlet is defined, can be accessed in the init() method, but not in another method