can't find /var/mobile/applications directory for ios documents

前端 未结 8 2077
我寻月下人不归
我寻月下人不归 2021-02-04 02:28

I\'m trying to run a release build on my iPad device connected to xcode for debugging. I\'m not certain but guessing that when I do this the documents directory ends up somewher

8条回答
  •  灰色年华
    2021-02-04 02:58

    To anyone looking out for the exact answer:-

    1.Go to plist file of your project.

    2.Add one row.

    3.Then set the Boolean value of the property "Application supports iTunes file sharing" to "YES"

    And you are good to go.

    Also note that you have to plugin the device in order to access the copied files (Programmatically). If you happen to go and try to access it on computer .. you wont be able to find the files.

提交回复
热议问题