NSLog([NSString stringWithFormat:@"%@/%@B.jpg", createDir, uuid]);//这是我的写法
应该写成
NSString *str = [NSString stringWithFormat:@"%@/%@B.jpg", createDir, uuid];
NSLog(@"%@",str);
解决编译时出现的警告:format string is not a string literal (potentially insecure)
原文:http://www.cnblogs.com/liuting-1204/p/5605402.html