Is it possible to view the contents of files in the iOS Application sandbox while debugging?

前端 未结 5 1059
忘掉有多难
忘掉有多难 2021-01-30 10:13

I\'d like to check the contents of an XML file at a specific point of execution while debugging in Xcode. Is it possible to view the contents of the file, either through the Org

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-30 10:43

    You could enable file sharing (set the UIFileSharingEnabled flag in info.plist) and store the file where it can be accessed via iTunes (i.e. in the Documents folder).

提交回复
热议问题