在pch文件中写入以下代码:
#ifndef __DEBUG__
#define NSLog(...) printf("%s\n", [[NSString stringWithFormat:__VA_ARGS__]UTF8String]);
#endif
就可以了,目前还没有出现问题。
在pch文件中写入以下代码:
#ifndef __DEBUG__
#define NSLog(...) printf("%s\n", [[NSString stringWithFormat:__VA_ARGS__]UTF8String]);
#endif
就可以了,目前还没有出现问题。
本文标题:Xcode8及iOS10NSLog无法完整输出的问题
本文链接:https://www.haomeiwen.com/subject/ugzppttx.html
网友评论