if ([returnStringResults isEqualToString:yesText]) {
testLabel.text = @"Success";
// DO ACTION HERE
}
Edit: As bbum pointed out, NSString *returnStringResults = returnString;
does nothing.
So really, remove that line and use
if ([returnString isEqualToString:yesText]) {
testLabel.text = @"Success";
// DO ACTION HERE
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…