【发布时间】:2015-07-21 20:57:22
【问题描述】:
我有一个 UI 图像,我想找到它的路径。我该怎么做呢?
UIIImage *image ; // I have saved an image here
NSString *documentsPath = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)[0];
NSString *filePath = [documentsPath stringByAppendingPathComponent: ????????? ]; // How to get the image from UIImage ?
【问题讨论】:
-
图片如何保存?为什么不知道保存在哪里?
-
保存在相册中
标签: ios objective-c