×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Objective-C
Posted by: Black Light
Added: Mar 3, 2013 12:22 PM
Views: 26
Tags: no tags
  1. + (NSString*) getDocumentDirectoryPath
  2. {
  3.     NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
  4.     NSString *documentsDirectory = [paths objectAtIndex:0];
  5.     return documentsDirectory;
  6. }