/Users/{YOUR NAME}/Library/Developer/CoreSimulator/
Devices/{DEVICE ID}/data/Containers/Data/Application/{APPLICATION ID}/
By Code:
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *basePath = ([paths count] > 0) ? [paths objectAtIndex:0] : nil;
NSLog(@"%@",basePath);
No comments:
Post a Comment