[英]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.