hi!
inside a void i have a lot of things (like a printf) and they works fine.
but when i try to put "label.hidden = YES;" the label dont become invisible.
and when i put "label1000.hidden = YES;" inside an ibaction, it works. does anyone knows how to fix it?
.h
...
.m
thanks!
inside a void i have a lot of things (like a printf) and they works fine.
but when i try to put "label.hidden = YES;" the label dont become invisible.
and when i put "label1000.hidden = YES;" inside an ibaction, it works. does anyone knows how to fix it?
.h
Code:
...
UILabel *label;
...
@property (nonatomic, retain) IBOutlet UILabel *label;
.m
Code:
...
@synthesize label;
...
-(void)changeVisibility {
label.hidden = YES;
}
...