Write JSON Response to .plist File

前端 未结 6 1639
遥遥无期
遥遥无期 2021-02-20 11:14

Frustration on the Top !!!

I am getting some JSON Response from the Service and I want to store it in the .plist file

6条回答
  •  长发绾君心
    2021-02-20 12:10

    • Check if the return value of the writeToURL:atomically: method returns YES.
    • If it doesn't, check if you have write permissions to that URL.
    • Try it with another URL to find out if its the path or the contents of the dictionary that's causing this error.

提交回复
热议问题