- NSLog(@"%@", NSHomeDirectory());//沙盒主目录
- NSLog(@"%@", NSTemporaryDirectory());//沙盒中tmp文件夹的路径
- NSLog(@"%@", [[NSBundle mainBundle] bundlePath]);//沙盒中*.app包的路径
- NSLog(@"%@", [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject]);//沙盒中document文件夹的路径
各种沙盒路径
最新推荐文章于 2024-03-21 08:19:42 发布