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?

BenMorel
  • 34,448
  • 50
  • 182
  • 322
wshcdr
  • 935
  • 2
  • 12
  • 27

1 Answers1

1

Try this

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

   }

Hope this code is useful for you.

Darshan Kunjadiya
  • 3,323
  • 1
  • 29
  • 31