增加搜索框,ios图片名重复问题
This commit is contained in:
1 parent
f731494396
commit
b075279a14
7 files changed
+82
-43
No files matched your search
@@ -54,8 +54,10 @@
|
||||
//图片旋转
|
||||
image = [self fixOrientation:image];
|
||||
}
|
||||
NSUUID *UUID = [NSUUID UUID];
|
||||
NSString *result =[[UUID UUIDString] stringByAppendingString:@".jpg"];
|
||||
//获取保存图片的地址
|
||||
NSString *imagePath = [self GetSavePath:@"Temp.jpg"];
|
||||
NSString *imagePath = [self GetSavePath:result];
|
||||
//保存图片到沙盒路径 对应unity中的Application.persistentDataPath 之后我们取图片就需要在这个路径下取 这是一个可读可写的路径
|
||||
[self SaveFileToDoc:image path:imagePath];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user