Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用了
NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask,YES);
保存文件并在应用程序中创建一些目录。是否可以在调试器中查看这些文件和目录?就像到达断点后,我可以查看应用程序的 Document 文件夹。NSFileManager我能想到的唯一可能的解决方案是使用各种方法进行大规模 NSLogging 。
NSFileManager
哦,没关系,我已经找到了。转到管理器->设备->单击您的设备->应用程序->单击您的应用程序
文件夹将在下面填充。但是它不会自动更新,您必须单击其他位置并返回才能查看更新的结果。