There's a way to access the document folder in iphone/ipad (real device, no simulator)?

后端 未结 6 2061
遇见更好的自我
遇见更好的自我 2020-11-28 22:54

there\'s a way to access a real device (iphone/ipad) document folder? I realized an app that store some data in that folder and i wanted to check if all is going in the righ

6条回答
  •  星月不相逢
    2020-11-28 23:31

    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". (the key name is UIFileSharingEnabled)

    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.

提交回复
热议问题