您的位置:首页 > 其它

Xcode 警告信息处理:Format string is not a string literal (potentially insecure)

2014-01-13 16:41 459 查看
转自:http://www.oschina.net/question/54100_33881

NSObject *obj = @"A string or other object.";
NSLog([NSString stringWithFormat:@"%@",obj]);// 有警告
NSLog([NSString stringWithFormat:@"%@",obj],nil);// 解决方案
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: