NSString *imagePath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/InAppLibrary"];
NSString *str=[@"/" stringByAppendingFormat:appDelegate_iPad.DrawPicture];
NSString *currentImageName=[imagePath stringByAppendingFormat:str];
NSData *dataImage = [NSData dataWithContentsOfFile:currentImageName];
这里 NSData 对象 dataImage 为我提供空值,请任何朋友帮助我了解这里有什么问题。
谢谢