Can I simply use
if(myString == nil)
For some reason a string that I know is null, is failing this statement.
Is it possible that your string is not in fact nil, and is instead just an empty string? You could try testing whether [myString length] == 0.
nil
[myString length] == 0
1.4m articles
1.4m replys
5 comments
57.0k users