1

When I debug a ios app, a variable of NSString* type returned by a function shows 0x00000000 in print command, but how would I write codes to know it?

1
  • if you satisfied my answer so please upvote my answer.thanks in advanced Commented May 26, 2014 at 11:15

1 Answer 1

1

Try this

if ([str isEqual:[NSNull null]])
   {

   }

Hope this code is useful for you.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.