Sir,
I have used the below function
while(labelZ.text!=0)
but getting the typecast error.
Sir,
I have used the below function
while(labelZ.text!=0)
but getting the typecast error.
To check if a string is not set, use:
labelZ.text == nil
To check if a string is an empty string, use:
[labelZ.text isEqualToString:@""]
To check if a string equals "0", use:
[labelZ.text isEqualToString:@"0"]