#define kDocuments [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"]

BOOL isCreate = [[NSFileManager defaultManager] createDirectoryAtPath:[kDocuments stringByAppendingPathComponent:@"Event1"]
                                                      withIntermediateDirectories:YES
                                                                                           attributes:nil
                                                                                                 error:nil];

[[NSFileManager defaultManager] removeItemAtPath:[kDocuments stringByAppendingPathComponent:@"Event1"]  error:nil];

相关文章:

  • 2022-03-02
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2021-09-20
  • 2021-12-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2021-10-31
  • 2021-06-26
相关资源
相似解决方案