[英]Why are NSLogs in Xcode 8 cut off?
我刚刚安装了Xcode 8,我使用NSLogs来查看我的服务器响应和其他验证。 但是,我的服务器响应(使用JSON)的NSLogs正在被切断。 有任何想法吗? 我正在使用objective-c并在真实设备上运行我的应用程序。
我能够在这个问题的帮助下解决这个问题
你必须创建一个全局标题(YourProjectName.pch)然后发布这一行:
#define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);
然后你可以从NSLog(@“我的数组数据:%@”,anArray)等任何视图中调用NSLog。
[英]Regular expression for turning NSLogs on and off?
[英]Container view cut off in xcode
[英]Xcode 6 NSLogs not being shown in console
[英]Stop Xcode from truncating NSLogs
[英]Why is are the images being cut off?
[英]Xcode is not showing the NSLogs from iOS devices
[英]Plain text being cut off at bottom in iOS, how to fix in xCode?
[英]Label being cut off in TableView Xcode10/Swift 4
[英]Xcode Scroll view being cut off when running simulation
[英]Why are cells in the UICollectionView being cut off?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.