Change :
if (strFinal == successStr) {
to
if ([strFinal isEqualToString:successStr]) {
solved NSString does not match [duplicate]
Change :
if (strFinal == successStr) {
to
if ([strFinal isEqualToString:successStr]) {
solved NSString does not match [duplicate]