Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /homepages/17/d294589954/htdocs/gzlname_c/wp-includes/plugin.php on line 546

Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /homepages/17/d294589954/htdocs/gzlname_c/wp-includes/plugin.php on line 546

一些iPhone的系统目录

D

得到Document目录:

NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];

得到temp临时目录:

NSString *tempPath = NSTemporaryDirectory();

得到目录上的文件地址:

NSString *文件地址 = [目录地址 stringByAppendingPathComponent:@"文件名.扩展名"];

Leave a Reply