When does NSURLConnection's initWithRequest return nil

后端 未结 5 1370
遥遥无期
遥遥无期 2021-02-18 23:51

Does anyone know in which situations initializing a NSURLConnection returns nil instead of the created connection. The documentation says it\'s possible but fails t

5条回答
  •  被撕碎了的回忆
    2021-02-19 00:42

    I would try all of the above except do it during low memory conditions. IE, I think it will happen when an internal malloc fails.

提交回复
热议问题