Home  >  Q&A  >  body text

iOS网络请求返回参数为<null>判断

iOS网络请求返回参数为<null>怎样判断

PHP中文网PHP中文网2741 days ago294

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 09:19:30

    This kind of null has memory:

    if([object isEqual:[NSNull null]])

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 09:19:30

    It is recommended to use the current mature model to convert to a third party, it will handle it for you, it is very convenient

    reply
    0
  • Cancelreply