摘要:
在Info.plist里添加一行配置信息即可设置Application supports iTunes file sharing为YES.以下是返回该目录下文件路径的代码:-(NSString*)shareFilePath:(NSString*)filePath {NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES);NSString *documentsDirectory = [paths objectAtIndex:0];return [documents 阅读全文
posted @ 2012-05-21 16:48
翛尧
阅读(527)
评论(0)
推荐(0)