我试图隐藏 UIButton 但它没有被隐藏。在相同的代码中,我成功地隐藏了一个 UILabel。我的代码有什么错误?
if ([typeOne isEqualToString:@"DDWC"]) {
questionButtonTwo.hidden=YES;
questionButtonTwoTwo.hidden=YES;
questionButtonTwoThree.hidden=YES;
questionButtonTwoFour.hidden=YES;
questionButtonTwoFive.hidden=YES;
questionButtonTwoSix.hidden=YES;
questionButtonTwoSeven.hidden=YES;
questionButtonTwoEight.hidden=YES;
checkLableTwo.hidden=NO;
checkLableTwoTwo.hidden=NO;
checkLableTwoThree.hidden=NO;
checkLableTwoFour.hidden=NO;
checkLableTwoFive.hidden=NO;
checkLableTwoSix.hidden=NO;
checkLableTwoSeven.hidden=NO;
checkLableTwoEight.hidden=NO;
}