Xcode: directory file for simulator Iphone

后端 未结 8 1266
[愿得一人]
[愿得一人] 2021-01-30 03:25

i want to write a string in a file \"file.txt\": this file in my project (for Iphone) is inside Resources; I try to write a string in this file but it don\'t work, I show my cod

8条回答
  •  天命终不由人
    2021-01-30 04:10

    Stop at a breakpoint anywhere in your app and type "po NSHomeDirectory()" in the debugger. Use Finder's Go > Go To Folder feature to jump directly there.

提交回复
热议问题