NSCocoaErrorDomain Code=256

前端 未结 7 940
太阳男子
太阳男子 2020-12-01 20:59

I have been stuck with this for a while and don\'t seem to get around this.

I am trying to read the contents of an URL as a string from an URL, But i get a weird

7条回答
  •  -上瘾入骨i
    2020-12-01 21:31

    I had a similar problem accessing files located on my device. I followed NSURL isFileURL always returns NO and used [NSURL fileURLWithPath] instead of [NSURL URLWithString] - this worked!

提交回复
热议问题