
The easiest way to get the path of the Documents folder of your application is to use the NSFileManager class, like this:
- (NSURL *)applicationDocumentsDirectory
{
return [[[NSFileManager
defaultManager]
URLsForDirectory:NSDocumentDirectory
inDomains:NSUserDomainMask]
lastObject];
}
No comments:
Post a Comment