-(IBAction)button1Pressed {
button2.enabled = NO;
}
-(IBAction)button2Pressed {
button1.enabled = NO;
}
For touch.
Then for touching inward and touching outside.
-(IBAction)button1Lifted {
button2.enabled = YES;
}
-(IBAction)button1Lifted {
button2.enabled = YES;
}
thyrgle
source
share